From 21879da80d2dfa97e789a13b90e82e466c4854e3 Mon Sep 17 00:00:00 2001 From: hirn-lego <93935175+hirn-lego@users.noreply.github.com> Date: Mon, 8 Nov 2021 21:47:00 +0000 Subject: [PATCH] Added -d parameter for dbname to postgres-container healthcheck (#2571) Co-authored-by: Sebastian --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index cc62d6e5..c76c314c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: POSTGRES_PASSWORD: kemal POSTGRES_USER: kemal healthcheck: - test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER $$POSTGRES_DB"] + test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"] invidious: build: context: .