1
0
mirror of https://github.com/ArcticFoxes-net/Signal-TLS-Proxy synced 2024-09-07 18:53:30 -04:00

NGINX autoreload

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-08-28 17:52:50 -07:00
parent 681f626851
commit 0689f8a983
No known key found for this signature in database
GPG Key ID: 3DF2709723343A8F

View File

@ -20,6 +20,7 @@ services:
- SETUID
- SETGID
- CAP_NET_BIND_SERVICE
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; /usr/sbin/nginx -s reload; done & /usr/sbin/nginx -c /etc/nginx/nginx.conf -g \"daemon off;\"'"
nginx-relay:
image: nginx:alpine
restart: unless-stopped
@ -32,6 +33,7 @@ services:
cap_add:
- SETUID
- SETGID
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; /usr/sbin/nginx -s reload; done & /usr/sbin/nginx -c /etc/nginx/nginx.conf -g \"daemon off;\"'"
certbot:
image: certbot/certbot
restart: unless-stopped