From 3e9f88506ed4946bc6eb95d5da5341aff76f2cf2 Mon Sep 17 00:00:00 2001 From: "A.Yamamoto" <49822810+na2na-p@users.noreply.github.com> Date: Sun, 15 Jan 2023 20:54:20 +0900 Subject: dbヘルスチェックでFATALの表示が出ないように (#9593) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index efc85c372e..01bd1b1e6e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -44,7 +44,7 @@ services: volumes: - ./db:/var/lib/postgresql/data healthcheck: - test: "pg_isready" + test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB" interval: 5s retries: 20 -- cgit v1.2.3-freya