Fix compose file
This commit is contained in:
parent
2587d54bf6
commit
51e592541e
1 changed files with 5 additions and 5 deletions
|
|
@ -3,7 +3,7 @@ version: '3.8'
|
||||||
services:
|
services:
|
||||||
ingress:
|
ingress:
|
||||||
init: true
|
init: true
|
||||||
image: nginx:alpine
|
image: schmelczera/declared-ingress
|
||||||
depends_on:
|
depends_on:
|
||||||
- certbot
|
- certbot
|
||||||
- frontend
|
- frontend
|
||||||
|
|
@ -29,8 +29,8 @@ services:
|
||||||
- "443:443"
|
- "443:443"
|
||||||
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/certbot/conf:/etc/letsencrypt
|
- /root/data/certbot/conf:/etc/letsencrypt
|
||||||
- ./data/certbot/www:/var/www/certbot
|
- /root/data/certbot/www:/var/www/certbot
|
||||||
|
|
||||||
certbot:
|
certbot:
|
||||||
init: true
|
init: true
|
||||||
|
|
@ -49,8 +49,8 @@ services:
|
||||||
window: 30s
|
window: 30s
|
||||||
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
|
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/certbot/conf:/etc/letsencrypt
|
- /root/data/certbot/conf:/etc/letsencrypt
|
||||||
- ./data/certbot/www:/var/www/certbot
|
- /root/data/certbot/www:/var/www/certbot
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
init: true
|
init: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue