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

Co-authored-by: Sebastian <sbeck@darklxserver>
This commit is contained in:
hirn-lego 2021-11-08 22:54:45 +00:00 committed by GitHub
parent 8c2d32de87
commit 9bcfb51d17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ services:
POSTGRES_USER: kemal
POSTGRES_PASSWORD: kemal
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER $$POSTGRES_DB"]
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
invidious:
image: quay.io/invidious/invidious:latest
restart: always