mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:04:03 +00:00
Try using different credentials than postgres:postgres
This commit is contained in:
parent
cb7f85c401
commit
aa21514c49
2 changed files with 4 additions and 3 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -47,7 +47,8 @@ jobs:
|
|||
postgres:
|
||||
image: postgres:latest
|
||||
env:
|
||||
POSTGRES_PASSWORD: 'postgres'
|
||||
POSTGRES_USER: 'root'
|
||||
POSTGRES_PASSWORD: 'password'
|
||||
POSTGRES_DB: main
|
||||
ports:
|
||||
- 5432/tcp
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@ services:
|
|||
- '${POSTGRES_PORT:-5432}'
|
||||
environment:
|
||||
POSTGRES_DB: main
|
||||
POSTGRES_USER: '${POSTGRES_USER:-postgres}'
|
||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
||||
POSTGRES_USER: '${POSTGRES_USER:-root}'
|
||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-password}'
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U '${POSTGRES_USER}'"]
|
||||
interval: 10s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue