refactor: add env_file configuration to docker-compose.yml for environment variable management
This commit is contained in:
parent
1d77266cb2
commit
80236b9396
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue