Skip to content

Invidious is an alternative front-end to YouTube

Add Postgres health check

Dragnucs37dba6ebfd4e
diff --git a/docker-compose.yml b/docker-compose.yml
index be8347fd..1486f013 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -7,6 +7,8 @@ services:
restart: unless-stopped
volumes:
- postgresdata:/var/lib/postgresql/data
+ healthcheck:
+ test: ["CMD", "pg_isready", "-U", "postgres"]
invidious:
build:
context: .