use .env file in docker-compose.yml

This commit is contained in:
m5r 2021-08-20 08:31:39 +08:00
parent 9ca0e5d09e
commit 8931404062

View File

@ -6,7 +6,7 @@ services:
restart: unless-stopped
volumes:
- 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:
- "5432:5432"
admin: