Merge pull request #675 from Dragnucs/patch-1

Add Postgres health check
This commit is contained in:
Omar Roth 2019-09-01 09:53:04 -04:00 committed by GitHub
commit 44b2afeffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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