refactor: add env_file configuration to docker-compose.yml for environment variable management
This commit is contained in:
@@ -3,6 +3,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
provenance: false
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ./config.json:/app/config.json:ro
|
||||
- ./data:/data
|
||||
@@ -18,6 +19,7 @@ services:
|
||||
context: .
|
||||
provenance: false
|
||||
command: node workers/index.js
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ./config.json:/app/config.json:ro
|
||||
- ./data:/data
|
||||
|
||||
Reference in New Issue
Block a user