mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:14:03 +00:00
Use PGPASSWORD instead of hardcoding POSTGRES_PASSWORD in ci.yml
This commit is contained in:
parent
601d897a63
commit
315b2dd113
2 changed files with 1 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ services:
|
|||
POSTGRES_DB: main
|
||||
POSTGRES_USER: '${POSTGRES_USER:-postgres}'
|
||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
||||
PGPASSWORD: '${POSTGRES_PASSWORD}'
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
|
||||
interval: 10s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue