summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhirn-lego <93935175+hirn-lego@users.noreply.github.com>2021-11-08 21:47:00 +0000
committerGitHub <noreply@github.com>2021-11-08 21:47:00 +0000
commit21879da80d2dfa97e789a13b90e82e466c4854e3 (patch)
treed3ac8f9b73cfd28965d36530a6fc592e2223b4c2
parent6cabc96f75444a2e3acdeaf979eb7c840b8f8dd6 (diff)
downloadinvidious-21879da80d2dfa97e789a13b90e82e466c4854e3.tar.gz
invidious-21879da80d2dfa97e789a13b90e82e466c4854e3.tar.bz2
invidious-21879da80d2dfa97e789a13b90e82e466c4854e3.zip
Added -d parameter for dbname to postgres-container healthcheck (#2571)
Co-authored-by: Sebastian <sbeck@darklxserver>
-rw-r--r--docker-compose.yml2
1 files changed, 1 insertions, 1 deletions
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: .