fix: bind LiteLLM directly on Tailscale host network
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user