1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 16:54:05 +00:00

Try using different credentials than postgres:postgres

This commit is contained in:
lukinovec 2023-05-22 16:06:58 +02:00
parent cb7f85c401
commit aa21514c49
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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