Add healthchecks to backend-core, consent-service, billing-service, admin-core
Some checks failed
Deploy to Coolify / deploy (push) Has been cancelled

Coolify/Traefik requires healthchecks to route traffic to containers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-03-08 00:57:43 +01:00
parent 9e1660f954
commit 395011d0f4

View File

@@ -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