Files
nas-tools/litellm/docker-compose.yml
T
Gan, Jimmy eee47fb967
Run Tests / Backend Tests (push) Failing after 1m12s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
fix: disable LiteLLM spend logs to avoid auth requirement
2026-04-02 23:46:23 +08:00

33 lines
675 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
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"
- "--disable_spend_logs"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
networks:
nas-dashboard_internal:
external: true