fix: bind LiteLLM directly on Tailscale host network

This commit is contained in:
Codex
2026-07-22 00:49:54 -07:00
parent 3dc9c9d3c2
commit a5f7dc61e2
+2 -3
View File
@@ -19,8 +19,7 @@ services:
depends_on:
adc-init:
condition: service_completed_successfully
ports:
- "${LISTEN_IP:-127.0.0.1}:${HOST_PORT:-4000}:4000"
network_mode: host
environment:
GOOGLE_APPLICATION_CREDENTIALS: /credentials/application_default_credentials.json
VERTEXAI_PROJECT: ${VERTEXAI_PROJECT}
@@ -32,7 +31,7 @@ services:
- ./runtime:/runtime
entrypoint: ["/bin/sh", "-c"]
command:
- touch /runtime/litellm.log && chmod 0644 /runtime/litellm.log && exec /app/docker/prod_entrypoint.sh --config /app/config.yaml --host 0.0.0.0 --port 4000 > /runtime/litellm.log 2>&1
- touch /runtime/litellm.log && chmod 0644 /runtime/litellm.log && exec /app/docker/prod_entrypoint.sh --config /app/config.yaml --host ${LISTEN_IP:-127.0.0.1} --port ${HOST_PORT:-4000} > /runtime/litellm.log 2>&1
logging:
driver: json-file
options: