diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-09-01 09:53:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-01 09:53:04 -0400 |
| commit | 44b2afeffa271a461dadc0a3e3c25280f919fd2c (patch) | |
| tree | 74d2170f6ffa1342aa0192f98877e706fab7b120 | |
| parent | 70f435e909a979c94d3baed1da1310ba6bc71e43 (diff) | |
| parent | 37dba6ebfd4e4e55e3699277ec7632008c8ac48b (diff) | |
| download | invidious-44b2afeffa271a461dadc0a3e3c25280f919fd2c.tar.gz invidious-44b2afeffa271a461dadc0a3e3c25280f919fd2c.tar.bz2 invidious-44b2afeffa271a461dadc0a3e3c25280f919fd2c.zip | |
Merge pull request #675 from Dragnucs/patch-1
Add Postgres health check
| -rw-r--r-- | docker-compose.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index be8347fd..1486f013 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,8 @@ services: restart: unless-stopped volumes: - postgresdata:/var/lib/postgresql/data + healthcheck: + test: ["CMD", "pg_isready", "-U", "postgres"] invidious: build: context: . |
