refactor: add env_file configuration to docker-compose.yml for environment variable management

This commit is contained in:
ImBenji 2026-04-27 17:40:15 +01:00
parent 1d77266cb2
commit 80236b9396

View file

@ -3,6 +3,7 @@ services:
build: build:
context: . context: .
provenance: false provenance: false
env_file: .env
volumes: volumes:
- ./config.json:/app/config.json:ro - ./config.json:/app/config.json:ro
- ./data:/data - ./data:/data
@ -18,6 +19,7 @@ services:
context: . context: .
provenance: false provenance: false
command: node workers/index.js command: node workers/index.js
env_file: .env
volumes: volumes:
- ./config.json:/app/config.json:ro - ./config.json:/app/config.json:ro
- ./data:/data - ./data:/data