diff --git a/docker-compose.coolify.yml b/docker-compose.coolify.yml index 0ee3257..6f2b80d 100644 --- a/docker-compose.coolify.yml +++ b/docker-compose.coolify.yml @@ -64,6 +64,12 @@ services: condition: service_healthy consent-service: condition: service_started + healthcheck: + test: ["CMD", "curl", "-f", "http://127.0.0.1:8000/health"] + interval: 30s + timeout: 10s + start_period: 15s + retries: 3 restart: unless-stopped networks: - breakpilot-network @@ -94,6 +100,12 @@ services: depends_on: valkey: condition: service_healthy + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:8081/health"] + interval: 30s + timeout: 10s + start_period: 15s + retries: 3 restart: unless-stopped networks: - breakpilot-network @@ -119,6 +131,12 @@ services: FRONTEND_URL: ${FRONTEND_URL:-https://www.breakpilot.ai} TRIAL_PERIOD_DAYS: ${TRIAL_PERIOD_DAYS:-14} INTERNAL_API_KEY: ${INTERNAL_API_KEY} + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:8083/health"] + interval: 30s + timeout: 10s + start_period: 15s + retries: 3 restart: unless-stopped networks: - breakpilot-network @@ -254,6 +272,12 @@ services: NODE_ENV: production BACKEND_URL: http://backend-core:8000 OLLAMA_URL: ${OLLAMA_URL:-} + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3000/"] + interval: 30s + timeout: 10s + start_period: 30s + retries: 3 restart: unless-stopped networks: - breakpilot-network