The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: Use python instead of wget for healthcheck in docker-compose.yml (#17646)
Sergei Silnovf5dc8b7c38b7
diff --git a/docker-compose.yml b/docker-compose.ymlindex c268f9ba0ff..8898aff62da 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -22,7 +22,9 @@ services:depends_on:- db # Indicates that this service depends on the 'db' service, ensuring 'db' starts firsthealthcheck: # Defines the health check configuration for the container- test: [ "CMD-SHELL", "wget --no-verbose --tries=1 http://localhost:4000/health/liveliness || exit 1" ] # Command to execute for health check+ test:+ - CMD-SHELL+ - python3 -c "import urllib.request; urllib.request.urlopen('http://localhost:4000/health/liveliness')" # Command to execute for health checkinterval: 30s # Perform health check every 30 secondstimeout: 10s # Health check command times out after 10 secondsretries: 3 # Retry up to 3 times if health check fails