changeset 492:9c5263c89272

added default lua scripts
author Alain Mazy <alain@mazy.be>
date Thu, 27 Aug 2020 13:05:01 +0200
parents 5bb6bc85f99f
children c4604a6c2193
files Sphinx/source/users/docker-osimis.rst
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/docker-osimis.rst	Mon Jul 13 12:08:46 2020 +0200
+++ b/Sphinx/source/users/docker-osimis.rst	Thu Aug 27 13:05:01 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
 -------