summaryrefslogtreecommitdiff
path: root/compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'compose.yml')
-rw-r--r--compose.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/compose.yml b/compose.yml
index eb4f8c7..ebaab06 100644
--- a/compose.yml
+++ b/compose.yml
@@ -2,6 +2,7 @@ services:
app:
build: .
restart: unless-stopped
+ env_file: ./.env
depends_on:
- db
ports:
@@ -11,9 +12,8 @@ services:
db:
image: postgres
restart: unless-stopped
+ env_file: ./.env
ports:
- 5432:5432
- environment:
- POSTGRES_PASSWORD: "postgres"
volumes:
- ./data/db:/var/lib/postgresql/data