diff --git a/main_dc/docker-compose.yml b/main_dc/docker-compose.yml index cf3a614..7e98aea 100644 --- a/main_dc/docker-compose.yml +++ b/main_dc/docker-compose.yml @@ -47,10 +47,17 @@ services: - app-network - bb-network depends_on: - - certbot + certbot: + condition: service_healthy - api - api_bb - analytics + healthcheck: + test: ["CMD-SHELL", "curl -f http://localhost/health || exit 1"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 40s analytics: build: