comparison Sphinx/source/users/docker-osimis.rst @ 785:4ff2c6ff472a

health check in docker images
author Alain Mazy <am@osimis.io>
date Fri, 15 Oct 2021 11:24:15 +0200
parents ededfacf9a8d
children ceb33b8b8c39
comparison
equal deleted inserted replaced
784:c55ab0604d10 785:4ff2c6ff472a
242 `/lua-scripts/filter-http-tools-reset.lua <https://bitbucket.org/osimis/orthanc-builder/src/master/docker/orthanc/filter-http-tools-reset.lua>`__ 242 `/lua-scripts/filter-http-tools-reset.lua <https://bitbucket.org/osimis/orthanc-builder/src/master/docker/orthanc/filter-http-tools-reset.lua>`__
243 can be used to regenerate the ``/tmp/orthanc.json`` configuration file that is loaded by Orthanc every time 243 can be used to regenerate the ``/tmp/orthanc.json`` configuration file that is loaded by Orthanc every time
244 you POST to ``/tools/reset``. Note that it declares an ``IncomingHttpRequestFilter`` 244 you POST to ``/tools/reset``. Note that it declares an ``IncomingHttpRequestFilter``
245 callback that might conflict with your scripts. 245 callback that might conflict with your scripts.
246 246
247 Healthcheck probe
248 -----------------
249
250 In version 21.10.0, the `/probes/test-aliveness.py <https://bitbucket.org/osimis/orthanc-builder/src/master/docker/orthanc/test-aliveness.py>`__
251 script has been added in order to perform healthchecks. Check the doc in the script itself for more details.
252 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>`__
253
247 254
248 Plugins 255 Plugins
249 ------- 256 -------
250 257
251 Plugins are automatically enabled as soon as you define a setting 258 Plugins are automatically enabled as soon as you define a setting