fix: use python for litellm healthcheck

This commit is contained in:
Ray Andrew 2026-02-13 01:22:12 -06:00
parent cd334c955b
commit 22b2dd8fdc
Signed by: rayandrew
SSH key fingerprint: SHA256:EUCV+qCSqkap8rR+p+zGjxHfKI06G0GJKgo1DIOniQY

View file

@ -61,7 +61,7 @@ services:
- CEREBRAS_API_KEY=${CEREBRAS_API_KEY} - CEREBRAS_API_KEY=${CEREBRAS_API_KEY}
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4000/health/liveliness"] test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:4000/health/liveliness')"]
interval: 15s interval: 15s
timeout: 5s timeout: 5s
retries: 5 retries: 5