Fix Postgres container in GitHub workflow
This commit is contained in:
parent
f935bf1740
commit
ad24fb614d
1 changed files with 3 additions and 3 deletions
6
.github/workflows/docker-publish.yml
vendored
6
.github/workflows/docker-publish.yml
vendored
|
|
@ -24,9 +24,9 @@ jobs:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
env:
|
env:
|
||||||
DB_PASSWORD: ${{ env.DB_PASSWORD }}
|
POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}
|
||||||
DB_HOST: ${{ env.DB_HOST }}
|
POSTGRES_DB: ${{ env.DB_HOST }}
|
||||||
DB_USER: ${{ env.DB_USER }}
|
POSTGRES_USER: ${{ env.DB_USER }}
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
options: --health-cmd pg_isready --health-interval 1s --health-timeout 5s --health-retries 5
|
options: --health-cmd pg_isready --health-interval 1s --health-timeout 5s --health-retries 5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue