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:
|
||||
ingress:
|
||||
init: true
|
||||
image: nginx:alpine
|
||||
image: schmelczera/declared-ingress
|
||||
depends_on:
|
||||
- certbot
|
||||
- frontend
|
||||
|
|
@ -29,8 +29,8 @@ services:
|
|||
- "443:443"
|
||||
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
||||
volumes:
|
||||
- ./data/certbot/conf:/etc/letsencrypt
|
||||
- ./data/certbot/www:/var/www/certbot
|
||||
- /root/data/certbot/conf:/etc/letsencrypt
|
||||
- /root/data/certbot/www:/var/www/certbot
|
||||
|
||||
certbot:
|
||||
init: true
|
||||
|
|
@ -49,8 +49,8 @@ services:
|
|||
window: 30s
|
||||
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
|
||||
volumes:
|
||||
- ./data/certbot/conf:/etc/letsencrypt
|
||||
- ./data/certbot/www:/var/www/certbot
|
||||
- /root/data/certbot/conf:/etc/letsencrypt
|
||||
- /root/data/certbot/www:/var/www/certbot
|
||||
|
||||
frontend:
|
||||
init: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue