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

Co-authored-by: Sebastian <sbeck@darklxserver>
pull/2622/head
hirn-lego 3 years ago committed by GitHub
parent 6cabc96f75
commit 21879da80d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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: .

Loading…
Cancel
Save