use .env file in docker-compose.yml
This commit is contained in:
parent
9ca0e5d09e
commit
8931404062
@ -6,7 +6,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- data:/var/lib/postgresql/data
|
- data:/var/lib/postgresql/data
|
||||||
env_file: ./.env.local #Here we are using the already existing .env.local file
|
env_file: ./.env #Here we are using the already existing .env file
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
admin:
|
admin:
|
||||||
|
Loading…
Reference in New Issue
Block a user