From 22b2dd8fdc2290b022ba1505e4ee2d284ccf9780 Mon Sep 17 00:00:00 2001 From: Ray Andrew Date: Fri, 13 Feb 2026 01:22:12 -0600 Subject: [PATCH] fix: use python for litellm healthcheck --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 29b93df..7287c26 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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