fix: use Docker network for postgres, set PGHOST to avoid port conflicts
This commit is contained in:
parent
f171dac36e
commit
f69fdcad48
1 changed files with 1 additions and 2 deletions
|
|
@ -17,8 +17,6 @@ jobs:
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_DB: aprsme_test
|
POSTGRES_DB: aprsme_test
|
||||||
ports:
|
|
||||||
- 5432:5432
|
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "pg_isready -U postgres"
|
--health-cmd "pg_isready -U postgres"
|
||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
|
|
@ -27,6 +25,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
MIX_ENV: test
|
MIX_ENV: test
|
||||||
ImageOS: ubuntu24
|
ImageOS: ubuntu24
|
||||||
|
PGHOST: postgres
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Configure git for submodules
|
- name: Configure git for submodules
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue