mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-25 06:26:58 +03:00
don't renew if not using LE
This commit is contained in:
@@ -94,7 +94,7 @@ services:
|
||||
volumes:
|
||||
- ${VOLUME_PATH}/data/certbot/conf:/etc/letsencrypt
|
||||
- ${VOLUME_PATH}/data/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 [ -f /etc/letsencrypt/live ]; do certbot renew; sleep 12h & wait $${!}; done;'"
|
||||
depends_on:
|
||||
init:
|
||||
condition: service_completed_successfully
|
||||
|
||||
Reference in New Issue
Block a user