Remove ChromaDB healthcheck, use service_started for depends_on

Healthcheck tools (wget/curl) are not reliably available in the
chromadb image. Removing the healthcheck and switching rag-server
depends_on to service_started avoids the unhealthy container error.

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
This commit is contained in:
Claude
2026-03-20 21:40:22 +00:00
parent a815a3555e
commit 5da719b1d0
+1 -6
View File
@@ -278,11 +278,6 @@ services:
environment:
- IS_PERSISTENT=TRUE
- ANONYMIZED_TELEMETRY=FALSE
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:8000/api/v1/heartbeat || exit 1"]
interval: 15s
timeout: 5s
retries: 5
# ── RAG Server — code-aware retrieval ──────────────────────────────────────
rag-server:
@@ -312,7 +307,7 @@ services:
uvicorn server:app --host 0.0.0.0 --port 8001"
depends_on:
chromadb:
condition: service_healthy
condition: service_started
ollama:
condition: service_healthy