From 75d0e89906cb7ab43d1d4dbabb69ea30ca860b62 Mon Sep 17 00:00:00 2001 From: alvis Date: Mon, 20 Apr 2026 12:20:41 +0000 Subject: [PATCH] =?UTF-8?q?fix(infra):=20ml-serving=20LITELLM=5FURL=20defa?= =?UTF-8?q?ult=20=E2=86=92=20host.docker.internal:4000?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inside the container, llm.alogins.net times out (public-DNS route, not the loopback path Caddy listens on). host.docker.internal:4000 reaches the Agap LiteLLM directly and is equivalent for dev. Prod deploys override via env. Co-Authored-By: Claude Opus 4.7 --- infra/docker/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/docker/docker-compose.yml b/infra/docker/docker-compose.yml index 1902dea..f42847e 100644 --- a/infra/docker/docker-compose.yml +++ b/infra/docker/docker-compose.yml @@ -65,7 +65,7 @@ services: profiles: [full] env_file: ../../.env.local environment: - LITELLM_URL: ${LITELLM_URL:-https://llm.alogins.net} + LITELLM_URL: ${LITELLM_URL:-http://host.docker.internal:4000} OLLAMA_URL: ${OLLAMA_URL:-http://host.docker.internal:11434} extra_hosts: - "host.docker.internal:host-gateway"