Add Postgres health check

pull/675/head
Dragnucs 5 years ago committed by GitHub
parent 66b949bed1
commit 37dba6ebfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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: .

Loading…
Cancel
Save