Skip to content

Commit 1ab3dbf

Browse files
Fix - Adding the credentials to db container
1 parent 64af315 commit 1ab3dbf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.yml

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ services:
1010
- "5432:5432"
1111
networks:
1212
- app_network
13+
environment:
14+
POSTGRES_DB: ${DB_NAME}
15+
POSTGRES_USER: ${DB_USER}
16+
POSTGRES_PASSWORD: ${DB_PASSWORD}
17+
POSTGRES_PORT: ${DB_PORT}
18+
POSTGRES_HOST: ${DB_HOST}
1319

1420
web:
1521
build:

0 commit comments

Comments
 (0)