From 183becfd8770a57ddc4edb0b436bdf126a4e361e Mon Sep 17 00:00:00 2001 From: Philipp Rothmann Date: Wed, 14 Jun 2023 14:59:03 +0200 Subject: [PATCH] fix postgres healtcheck --- compose.postgres.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compose.postgres.yml b/compose.postgres.yml index 85630f6..a71c53d 100644 --- a/compose.postgres.yml +++ b/compose.postgres.yml @@ -16,13 +16,13 @@ services: networks: - internal environment: - POSTGRES_USER: nextcloud + POSTGRES_USER: nextcloud POSTGRES_PASSWORD_FILE: /run/secrets/db_password - POSTGRES_DB: nextcloud + POSTGRES_DB: nextcloud secrets: - db_password healthcheck: - test: ["CMD-SHELL", "pg_isready"] + test: ["CMD-SHELL", "pg_isready", "-U", "nextcloud"] interval: 10s timeout: 5s retries: 5