Skip to content

Commit

Permalink
fix database
Browse files Browse the repository at this point in the history
  • Loading branch information
elzasimoes committed Sep 22, 2024
1 parent 785dac5 commit 21717e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- POSTGRES_DB=root
ports:
- 5432:5432
volumes:
- ./postgres-data:/var/lib/postgresql/data

Expand All @@ -22,7 +24,7 @@ services:
depends_on:
- postgres
environment:
- DB_HOST=postgres
- DB_HOST=localhost
- DB_USER=root
- DB_PASSWORD=root
- DB_NAME=root
Expand Down

0 comments on commit 21717e1

Please sign in to comment.