changeset 785:4ff2c6ff472a

health check in docker images
author Alain Mazy <am@osimis.io>
date Fri, 15 Oct 2021 11:24:15 +0200
parents c55ab0604d10
children d050289fd0b3
files Sphinx/source/users/docker-osimis.rst
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/docker-osimis.rst	Thu Oct 14 18:03:58 2021 +0200
+++ b/Sphinx/source/users/docker-osimis.rst	Fri Oct 15 11:24:15 2021 +0200
@@ -244,6 +244,13 @@
 you POST to ``/tools/reset``.  Note that it declares an ``IncomingHttpRequestFilter`` 
 callback that might conflict with your scripts.
 
+Healthcheck probe
+-----------------
+
+In version 21.10.0, the `/probes/test-aliveness.py <https://bitbucket.org/osimis/orthanc-builder/src/master/docker/orthanc/test-aliveness.py>`__ 
+script has been added in order to perform healthchecks.  Check the doc in the script itself for more details.
+A sample configuration is also available in `this sample <https://bitbucket.org/osimis/orthanc-setup-samples/src/8016d140a237a892db703aac4782307c46732847/docker/tls-mutual-auth/docker-compose.yml#lines-51>`__
+
 
 Plugins
 -------