Mercurial > hg > orthanc-book
comparison Sphinx/source/users/docker-osimis.rst @ 875:1006435326a7
new env var for osimis/orthanc
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 21 Sep 2022 11:00:46 +0200 |
parents | 71e339681c6b |
children | 815f70009ec2 |
comparison
equal
deleted
inserted
replaced
874:ea6067742d89 | 875:1006435326a7 |
---|---|
113 - ``LOGDIR=/logs`` will start Orthanc with the ``--logdir=/logs`` option (introduced in 21.9.1) | 113 - ``LOGDIR=/logs`` will start Orthanc with the ``--logdir=/logs`` option (introduced in 21.9.1) |
114 - ``LOGFILE=/logs`` will start Orthanc with the ``--logfile=/logs/orthanc.log`` option (introduced in 21.9.1) | 114 - ``LOGFILE=/logs`` will start Orthanc with the ``--logfile=/logs/orthanc.log`` option (introduced in 21.9.1) |
115 - ``MALLOC_ARENA_MAX=10`` will :ref:`control memory usage <scalability-memory>` | 115 - ``MALLOC_ARENA_MAX=10`` will :ref:`control memory usage <scalability-memory>` |
116 - ``ORTHANC_JSON`` can be used to pass a JSON "root" configuration (see below). | 116 - ``ORTHANC_JSON`` can be used to pass a JSON "root" configuration (see below). |
117 - ``BEFORE_ORTHANC_STARTUP_SCRIPT`` can be used to `run a custom script <https://groups.google.com/g/orthanc-users/c/EXjTq2ZU1vw/m/02CwW1jzAQAJ>`__ before starting Orthanc. | 117 - ``BEFORE_ORTHANC_STARTUP_SCRIPT`` can be used to `run a custom script <https://groups.google.com/g/orthanc-users/c/EXjTq2ZU1vw/m/02CwW1jzAQAJ>`__ before starting Orthanc. |
118 | 118 - ``FORCE_HOST_ID`` and ``GENERATE_HOST_ID_IF_MISSING`` can be used to control the content of /etc/hostid (introduced in 22.9.1). |
119 DCMTK calls gethostid() when generating DICOM UIDs (used, e.g, in modifications/anonymizations). | |
120 When /etc/hostid is missing, the system tries to generate it from the IP of the system. | |
121 On some system, in particular circumstances, we have observed that the system performs a DNS query | |
122 to get the IP of the system. This DNS can timeout (after multiple with retries) and, in particular cases, | |
123 we have observed a delay of 40 seconds to generate a single DICOM UID in Orthanc. | |
124 Therefore, if /etc/hostid is missing, the startup script creates it and fill it with a random number (default behaviour). | |
125 This behaviour can still be deactivated by defining ``GENERATE_HOST_ID_IF_MISSING=false``. | |
126 The host id can also be forced by defining ``FORCE_HOST_ID``. | |
127 | |
128 | |
129 | |
119 Configuration files | 130 Configuration files |
120 ------------------- | 131 ------------------- |
121 | 132 |
122 .. highlight:: yaml | 133 .. highlight:: yaml |
123 | 134 |