modified: main_dc/docker-compose.yml

add health check for nginx
This commit is contained in:
2025-11-11 11:41:42 +05:00
parent 9898c95f6c
commit da0279d9b6
+8 -1
View File
@@ -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: