mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 01:01:57 +01:00
Add Postgres health check
This commit is contained in:
parent
66b949bed1
commit
37dba6ebfd
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ services:
|
|||
restart: unless-stopped
|
||||
volumes:
|
||||
- postgresdata:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "postgres"]
|
||||
invidious:
|
||||
build:
|
||||
context: .
|
||||
|
|
Loading…
Reference in a new issue