Signal-TLS-Proxy/docker-compose.yml
dependabot[bot] 8ce3947d7d Bump certbot/certbot from 78a7eaa to 0107d08
Bumps certbot/certbot from `78a7eaa` to `0107d08`.

---
updated-dependencies:
- dependency-name: certbot/certbot
  dependency-version: 0107d084c225631fc64a8313e19adb07275f7296fde338f7dfa93986c80b2e3e
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 10:10:51 -04:00

26 lines
1.2 KiB
YAML

services:
nginx-terminate:
image: nginx:stable-alpine@sha256:a8b39bd9cf0f83869a2162827a0caf6137ddf759d50a171451b335cecc87d236
restart: unless-stopped
volumes:
- ./data/nginx-terminate:/usr/conf.d
- ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot
ports:
- "443:443"
- "80:80"
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; /usr/sbin/nginx -s reload; done & /usr/sbin/nginx -c /usr/conf.d/nginx.conf -g \"daemon off;\"'"
nginx-relay:
image: nginx:stable-alpine@sha256:a8b39bd9cf0f83869a2162827a0caf6137ddf759d50a171451b335cecc87d236
restart: unless-stopped
volumes:
- ./data/nginx-relay:/usr/conf.d
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; /usr/sbin/nginx -s reload; done & /usr/sbin/nginx -c /usr/conf.d/${NGINX_RELAY_CONFIG:-nginx.conf} -g \"daemon off;\"'"
certbot:
image: certbot/certbot@sha256:0107d084c225631fc64a8313e19adb07275f7296fde338f7dfa93986c80b2e3e
restart: unless-stopped
volumes:
- ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"