Skip to content

Invidious is an alternative front-end to YouTube

Fix "fatal role postgres doesn't exist" (#2296)

Samantaz Fox0aae728e33c7
diff --git a/docker-compose.yml b/docker-compose.yml
index bc292c53..b94f9813 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -12,7 +12,7 @@ services:
POSTGRES_PASSWORD: kemal
POSTGRES_USER: kemal
healthcheck:
- test: ["CMD", "pg_isready", "-U", "postgres"]
+ test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER"]
invidious:
build:
context: .