For some reason, `pg_isready` required a DB name, and by default will try with a database that has the same name as the current user.
This commit is contained in:
Samantaz Fox 2021-10-11 19:11:32 +02:00 committed by GitHub
parent b10f37bea9
commit 00fec21852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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