From e31ecbd66b34df78fcb538a513d1bf9c1525e510 Mon Sep 17 00:00:00 2001 From: glax Date: Mon, 1 Sep 2025 20:32:09 +0200 Subject: [PATCH] specify user for postgres healthcheck --- docker-compose.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 8ee9588..3723fa9 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -39,8 +39,9 @@ services: - "5432:5432" environment: - POSTGRES_PASSWORD=postgres + - POSTGRES_USER=postgres healthcheck: - test: ["CMD-SHELL", "pg_isready"] + test: ["CMD-SHELL", "pg_isready", "-U", "postgres"] interval: 30s timeout: 60s retries: 5