fix: use python for litellm healthcheck
This commit is contained in:
parent
cd334c955b
commit
22b2dd8fdc
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ services:
|
|||
- CEREBRAS_API_KEY=${CEREBRAS_API_KEY}
|
||||
restart: unless-stopped
|
||||
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
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
|
|
|||
Loading…
Reference in a new issue