refactor: use explicit env vars in docker-compose files

Replace env_file with explicit environment variables to allow
composing grist-mcp with other services without .env conflicts.
This commit is contained in:
2026-01-01 08:07:48 -05:00
parent 7890d79bce
commit 8c25bec5a4
2 changed files with 6 additions and 4 deletions

View File

@@ -8,8 +8,9 @@ services:
- "${PORT:-3000}:3000"
volumes:
- ./config.yaml:/app/config.yaml:ro
env_file:
- .env
environment:
- GRIST_MCP_TOKEN=${GRIST_MCP_TOKEN}
- CONFIG_PATH=/app/config.yaml
restart: unless-stopped
deploy:
resources: