summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml2
1 files changed, 2 insertions, 0 deletions
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: .