changeset 495:826032d7cb84

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 28 Aug 2020 22:22:42 +0200
parents c4604a6c2193 (diff) 7daa331a91a9 (current diff)
children 1fdbf5b89b80
files
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/docker-osimis.rst	Fri Aug 28 22:22:29 2020 +0200
+++ b/Sphinx/source/users/docker-osimis.rst	Fri Aug 28 22:22:42 2020 +0200
@@ -229,6 +229,19 @@
   }
   
 
+Default lua scripts
+-------------------
+
+Some lua scripts are already loaded in the image but are not configured to 
+be loaded by Orthanc automatically.  You'll have to add them to the ``"LuaScripts"`` 
+configuration if you want to use them.
+
+`/lua-scripts/filter-http-tools-reset.lua <https://bitbucket.org/osimis/orthanc-builder/src/master/docker/orthanc/filter-http-tools-reset.lua>`__ 
+can be used to regenerate the ``/tmp/orthanc.json`` configuration file that is loaded by Orthanc every time
+you POST to ``/tools/reset``.  Note that it declares an ``IncomingHttpRequestFilter`` 
+callback that might conflict with your scripts.
+
+
 Plugins
 -------