mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Merge pull request #675 from Dragnucs/patch-1
Add Postgres health check
This commit is contained in:
commit
44b2afeffa
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