Added -d parameter for dbname to postgres-container healthcheck (#2571)

Co-authored-by: Sebastian <sbeck@darklxserver>
This commit is contained in:
hirn-lego 2021-11-08 21:47:00 +00:00 committed by GitHub
parent 6cabc96f75
commit 21879da80d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ services:
POSTGRES_PASSWORD: kemal POSTGRES_PASSWORD: kemal
POSTGRES_USER: kemal POSTGRES_USER: kemal
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER $$POSTGRES_DB"] test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
invidious: invidious:
build: build:
context: . context: .