fix: bind LiteLLM directly on Tailscale host network
This commit is contained in:
@@ -19,8 +19,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
adc-init:
|
adc-init:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
ports:
|
network_mode: host
|
||||||
- "${LISTEN_IP:-127.0.0.1}:${HOST_PORT:-4000}:4000"
|
|
||||||
environment:
|
environment:
|
||||||
GOOGLE_APPLICATION_CREDENTIALS: /credentials/application_default_credentials.json
|
GOOGLE_APPLICATION_CREDENTIALS: /credentials/application_default_credentials.json
|
||||||
VERTEXAI_PROJECT: ${VERTEXAI_PROJECT}
|
VERTEXAI_PROJECT: ${VERTEXAI_PROJECT}
|
||||||
@@ -32,7 +31,7 @@ services:
|
|||||||
- ./runtime:/runtime
|
- ./runtime:/runtime
|
||||||
entrypoint: ["/bin/sh", "-c"]
|
entrypoint: ["/bin/sh", "-c"]
|
||||||
command:
|
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:
|
logging:
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
|
|||||||
Reference in New Issue
Block a user