File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,22 +5,22 @@ services:
55 build : ./nginx-terminate/
66 restart : unless-stopped
77 volumes :
8- - ./data/nginx-terminate:/etc/nginx/conf.d
9- - ./data/certbot/conf:/etc/letsencrypt
10- - ./data/certbot/www:/var/www/certbot
8+ - ./data/nginx-terminate:/etc/nginx/conf.d:Z
9+ - ./data/certbot/conf:/etc/letsencrypt:Z
10+ - ./data/certbot/www:/var/www/certbot:Z
1111 ports :
1212 - " 443:443"
1313 command : " /bin/sh -c 'while :; do sleep 6h & wait $${!}; /opt/nginx/sbin/nginx -s reload; done & /opt/nginx/sbin/nginx -c /etc/nginx/conf.d/nginx.conf -g \" daemon off;\" '"
1414 nginx-relay :
1515 build : ./nginx-relay/
1616 restart : unless-stopped
1717 volumes :
18- - ./data/nginx-relay:/etc/nginx/conf.d
18+ - ./data/nginx-relay:/etc/nginx/conf.d:Z
1919 command : " /bin/sh -c 'while :; do sleep 6h & wait $${!}; /opt/nginx/sbin/nginx -s reload; done & /opt/nginx/sbin/nginx -c /etc/nginx/conf.d/nginx.conf -g \" daemon off;\" '"
2020 certbot :
2121 image : certbot/certbot
2222 restart : unless-stopped
2323 volumes :
24- - ./data/certbot/conf:/etc/letsencrypt
25- - ./data/certbot/www:/var/www/certbot
24+ - ./data/certbot/conf:/etc/letsencrypt:Z
25+ - ./data/certbot/www:/var/www/certbot:Z
2626 entrypoint : " /bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
You can’t perform that action at this time.
0 commit comments