fix: use python for chromadb healthcheck
This commit is contained in:
parent
4055b0f047
commit
cd334c955b
1 changed files with 2 additions and 1 deletions
|
|
@ -38,10 +38,11 @@ services:
|
||||||
- ANONYMIZED_TELEMETRY=FALSE
|
- ANONYMIZED_TELEMETRY=FALSE
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8000/api/v1/heartbeat"]
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/v1/heartbeat')"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
start_period: 10s
|
||||||
|
|
||||||
# ── LLM API proxy ──
|
# ── LLM API proxy ──
|
||||||
litellm:
|
litellm:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue