mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 20:54: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:
|
postgres:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: 'postgres'
|
POSTGRES_USER: 'root'
|
||||||
|
POSTGRES_PASSWORD: 'password'
|
||||||
POSTGRES_DB: main
|
POSTGRES_DB: main
|
||||||
ports:
|
ports:
|
||||||
- 5432/tcp
|
- 5432/tcp
|
||||||
|
|
|
||||||
|
|
@ -57,8 +57,8 @@ services:
|
||||||
- '${POSTGRES_PORT:-5432}'
|
- '${POSTGRES_PORT:-5432}'
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: main
|
POSTGRES_DB: main
|
||||||
POSTGRES_USER: '${POSTGRES_USER:-postgres}'
|
POSTGRES_USER: '${POSTGRES_USER:-root}'
|
||||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-password}'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U '${POSTGRES_USER}'"]
|
test: ["CMD-SHELL", "pg_isready -U '${POSTGRES_USER}'"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue