From 2cb898d8eb46c8eedd9273383878e5a7c8088ee8 Mon Sep 17 00:00:00 2001 From: glax Date: Thu, 4 Sep 2025 18:00:25 +0200 Subject: [PATCH] fix healthcheck for local testing --- docker-compose.local.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.local.yaml b/docker-compose.local.yaml index 6626884..2fc3a8c 100644 --- a/docker-compose.local.yaml +++ b/docker-compose.local.yaml @@ -28,8 +28,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