diff --git a/main_dc/docker-compose.yml b/main_dc/docker-compose.yml index 51e0902..cf3a614 100644 --- a/main_dc/docker-compose.yml +++ b/main_dc/docker-compose.yml @@ -16,6 +16,12 @@ services: - DOMAINS=${ALL_DOMAINS} - STAGING=0 restart: unless-stopped + healthcheck: + test: ["CMD-SHELL", "test -f /etc/letsencrypt/live/$$(echo $${DOMAINS} | cut -d',' -f1)/fullchain.pem || exit 1"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 40s nginx: build: