summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml5
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