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