Connection tests use 5s timeouts and run IMAP/SMTP in parallel so the UI gets a clear error instead of nginx 504. Add deploy-hook service (:9090) and deploy-pull.sh for push-to-main deploys on CT 243.
11 lines
256 B
Docker
11 lines
256 B
Docker
FROM php:8.3-cli-alpine
|
|
|
|
RUN apk add --no-cache bash git curl docker-cli docker-cli-compose
|
|
|
|
WORKDIR /opt/deploy
|
|
COPY deploy-pull.sh webhook-receiver.php ./
|
|
RUN chmod +x deploy-pull.sh
|
|
|
|
EXPOSE 8080
|
|
CMD ["php", "-S", "0.0.0.0:8080", "webhook-receiver.php"]
|