mirror of
https://github.com/aykhans/series-robot-web.git
synced 2025-12-14 01:29:21 +00:00
Fixed SSH
This commit is contained in:
@@ -31,20 +31,20 @@ services:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./config/nginx/local.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./config/nginx/server.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./config/certbot/conf:/etc/letsencrypt
|
||||
- ./config/certbot/www:/var/www/certbot
|
||||
- static_volume:/django_static
|
||||
depends_on:
|
||||
- django
|
||||
# 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;\"'"
|
||||
|
||||
certbot:
|
||||
image: certbot/certbot
|
||||
volumes:
|
||||
- ./config/certbot/conf:/etc/letsencrypt
|
||||
- ./config/certbot/www:/var/www/certbot
|
||||
# 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:
|
||||
dbdata:
|
||||
|
||||
Reference in New Issue
Block a user