File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- DATABASE_URL = postgres://postgres@localhost :5432/blog_dev
1+ DATABASE_URL = postgres://postgres@127.0.0.1 :5432/blog_dev
Original file line number Diff line number Diff line change @@ -35,19 +35,19 @@ jobs:
3535 services :
3636 postgres :
3737 image : postgres:15
38+ ports :
39+ - 5432:5432
3840 env :
41+ POSTGRES_DB : devdb
3942 POSTGRES_USER : devuser
4043 POSTGRES_PASSWORD : devpassword
41- POSTGRES_DB : devdb
42- ports :
43- - 5432:5432
4444 options : >-
4545 --health-cmd pg_isready
4646 --health-interval 10s
4747 --health-timeout 5s
4848 --health-retries 5
4949 env :
50- DATABASE_URL : postgres://devuser:devpassword@localhost :5432/devdb
50+ DATABASE_URL : postgres://devuser:devpassword@127.0.0.1 :5432/devdb
5151 DB_HOST : localhost
5252 DB_PORT : 5432
5353 DB_USER : devuser
You can’t perform that action at this time.
0 commit comments