diff options
| author | 황윤성 <87403078+hys0star@users.noreply.github.com> | 2021-10-26 17:13:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-26 10:13:39 +0200 |
| commit | 06be0fb351d5c64db00fe05211a7a7b72605ebf7 (patch) | |
| tree | b3a539a2c6a7336fa8dfddac269e397b1f8e69d5 /docker-compose.yml | |
| parent | 5eb83bb39c25d8456561ddd968533e7126d8fb07 (diff) | |
| download | invidious-06be0fb351d5c64db00fe05211a7a7b72605ebf7.tar.gz invidious-06be0fb351d5c64db00fe05211a7a7b72605ebf7.tar.bz2 invidious-06be0fb351d5c64db00fe05211a7a7b72605ebf7.zip | |
Add healthcheck for docker-compose
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index ea1d2993..cc62d6e5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,6 +35,11 @@ services: full_refresh: false https_only: false domain: + healthcheck: + test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1 + interval: 30s + timeout: 5s + retries: 2 depends_on: - postgres |
