Files
nas-tools/litellm/docker-compose.yml
T
Gan, Jimmy 9bae5a62a5
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m34s
fix: attach litellm to shared dashboard network
Connect LiteLLM to nas-dashboard_internal and point dashboard-dev to the litellm container hostname so health probes work without host-loopback routing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-02 03:31:44 +08:00

34 lines
712 B
YAML

services:
litellm:
image: ghcr.io/berriai/litellm:main-latest
container_name: litellm
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=true"
env_file:
- .env
environment:
- LITELLM_MASTER_KEY=${LITELLM_MASTER_KEY:-}
ports:
- "127.0.0.1:${LITELLM_PORT:-4005}:4005"
volumes:
- ./config:/config:ro
networks:
- nas-dashboard_internal
command:
- "--config"
- "/config/litellm.yaml"
- "--host"
- "0.0.0.0"
- "--port"
- "4005"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
networks:
nas-dashboard_internal:
external: true