summary refs log tree commit diff
path: root/docker/README.md
diff options
context:
space:
mode:
authorWill Hunt <willh@matrix.org>2021-05-11 22:28:35 +0100
committerWill Hunt <willh@matrix.org>2021-05-11 22:28:35 +0100
commitdacc395dcae59824b0b30094fbc9a08a36df8113 (patch)
tree9225e85f329edc3bdb74332dcb837d6c888ff536 /docker/README.md
parentfix version (diff)
parentTests for to-device messages (#9965) (diff)
downloadsynapse-dacc395dcae59824b0b30094fbc9a08a36df8113.tar.xz
Merge remote-tracking branch 'origin/develop' into hs/hacked-together-event-cache
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md17
1 files changed, 14 insertions, 3 deletions
diff --git a/docker/README.md b/docker/README.md
index a7d1e670fe..c8d3c4b3da 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -191,6 +191,16 @@ whilst running the above `docker run` commands.
 ```
    --no-healthcheck
 ```
+
+## Disabling the healthcheck in docker-compose file
+
+If you wish to disable the healthcheck via docker-compose, append the following to your service configuration.
+
+```
+  healthcheck:
+    disable: true
+```
+
 ## Setting custom healthcheck on docker run
 
 If you wish to point the healthcheck at a different port with docker command, add the following
@@ -202,14 +212,15 @@ If you wish to point the healthcheck at a different port with docker command, ad
 ## Setting the healthcheck in docker-compose file
 
 You can add the following to set a custom healthcheck in a docker compose file.
-You will need version >2.1 for this to work. 
+You will need docker-compose version >2.1 for this to work. 
 
 ```
 healthcheck:
   test: ["CMD", "curl", "-fSs", "http://localhost:8008/health"]
-  interval: 1m
-  timeout: 10s
+  interval: 15s
+  timeout: 5s
   retries: 3
+  start_period: 5s
 ```
 
 ## Using jemalloc