Add Postgres health check

This commit is contained in:
Dragnucs 2019-08-07 08:07:36 +00:00 committed by GitHub
parent 66b949bed1
commit 37dba6ebfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ services:
restart: unless-stopped
volumes:
- postgresdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
invidious:
build:
context: .