From 3bbf38acc5e1f3d9e7432efaa852a45a1f280972 Mon Sep 17 00:00:00 2001 From: thariton <80053344+thamow@users.noreply.github.com> Date: Mon, 8 Apr 2024 16:08:06 +0200 Subject: [PATCH] docs: postgres healthcheck failing (#7692) --- docs/docs/self-hosting/deploy/docker-compose.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/self-hosting/deploy/docker-compose.yaml b/docs/docs/self-hosting/deploy/docker-compose.yaml index 30e58f512..e1639ec56 100644 --- a/docs/docs/self-hosting/deploy/docker-compose.yaml +++ b/docs/docs/self-hosting/deploy/docker-compose.yaml @@ -30,10 +30,11 @@ services: environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres + - POSTGRES_DB=zitadel networks: - 'zitadel' healthcheck: - test: ["CMD-SHELL", "pg_isready", "-d", "db_prod"] + test: ["CMD-SHELL", "pg_isready", "-d", "zitadel", "-U", "postgres"] interval: '10s' timeout: '30s' retries: 5