Skip to content

Commit 07c502e

Browse files
afabianigannebamm
andauthored
[Fixes #9839] db healthcheck fails with 'FATAL: role "root" does not exist' (#9855) (#9882)
Co-authored-by: mattiagiupponi <51856725+mattiagiupponi@users.noreply.github.com> (cherry picked from commit c233830) Co-authored-by: Florian Hoedt <gannebamm@gmail.com>
1 parent a5df4ec commit 07c502e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker-compose-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ services:
135135
- dbbackups:/pg_backups
136136
restart: on-failure
137137
healthcheck:
138-
test: "pg_isready -d gis"
138+
test: "pg_isready -d postgres -U postgres"
139139
# uncomment to enable remote connections to postgres
140140
#ports:
141141
# - "5432:5432"

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ services:
135135
- dbbackups:/pg_backups
136136
restart: on-failure
137137
healthcheck:
138-
test: "pg_isready -d gis"
138+
test: "pg_isready -d postgres -U postgres"
139139
# uncomment to enable remote connections to postgres
140140
#ports:
141141
# - "5432:5432"

0 commit comments

Comments
 (0)