diff options
| author | Dragnucs <Dragnucs@users.noreply.github.com> | 2019-08-07 08:07:36 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-07 08:07:36 +0000 |
| commit | 37dba6ebfd4e4e55e3699277ec7632008c8ac48b (patch) | |
| tree | 48f3e1632a93f85dc23458be28fab634fb7da2cf | |
| parent | 66b949bed1b2d685ec2f76c99897a13b94a9373b (diff) | |
| download | invidious-37dba6ebfd4e4e55e3699277ec7632008c8ac48b.tar.gz invidious-37dba6ebfd4e4e55e3699277ec7632008c8ac48b.tar.bz2 invidious-37dba6ebfd4e4e55e3699277ec7632008c8ac48b.zip | |
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: . |
