mirror of https://github.com/iv-org/invidious.git
Merge pull request #675 from Dragnucs/patch-1
Add Postgres health check
This commit is contained in:
commit
44b2afeffa
|
@ -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…
Reference in New Issue