diff --git a/docker-compose.yaml b/docker-compose.yaml index 7d7fc8f..07f640f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -62,10 +62,11 @@ services: - ./data/certbot/www:/var/www/certbot depends_on: - app + - certbot certbot: image: certbot/certbot:v2.9.0 - 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 24h & wait $${!}; done;'" volumes: - ./data/certbot/conf:/etc/letsencrypt - ./data/certbot/www:/var/www/certbot