Skip to content

Commit 6e7a5aa

Browse files
committed
Fix healthcheck for postgres (use correct username)
1 parent e961726 commit 6e7a5aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ services:
5454

5555
restart: always
5656
healthcheck:
57-
test: ["CMD-SHELL", "pg_isready -h db -t 1 -q"]
57+
test: ["CMD-SHELL", "pg_isready -h db -U ${DB_USER:-admin} -t 1 -q"]
5858
interval: 10s
5959
timeout: 5s
6060
retries: 3

0 commit comments

Comments
 (0)