fix: use compose-compatible env_file format

Switch env_file declarations back to string list syntax so Synology's docker compose parser accepts the LiteLLM and cc-connect compose files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Gan, Jimmy
2026-03-02 01:11:58 +08:00
parent ed4090a910
commit 76c10a6c07
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -6,8 +6,7 @@ services:
labels: labels:
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"
env_file: env_file:
- path: .env - .env
required: false
volumes: volumes:
- ./config.toml:/app/config.toml:ro - ./config.toml:/app/config.toml:ro
command: command:
+1 -2
View File
@@ -6,8 +6,7 @@ services:
labels: labels:
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"
env_file: env_file:
- path: .env - .env
required: false
environment: environment:
- LITELLM_MASTER_KEY=${LITELLM_MASTER_KEY:-} - LITELLM_MASTER_KEY=${LITELLM_MASTER_KEY:-}
ports: ports: