comparison Sphinx/source/users/docker-osimis.rst @ 398:7d219d619fb0

typos
author Alain Mazy <alain@mazy.be>
date Wed, 22 Apr 2020 10:43:02 +0200
parents d44f6f93a987
children f6464ae6342b
comparison
equal deleted inserted replaced
395:d44f6f93a987 398:7d219d619fb0
59 | DicomWeb.Root | ORTHANC__DICOM_WEB__ROOT | ``/dicom-web/`` | 59 | DicomWeb.Root | ORTHANC__DICOM_WEB__ROOT | ``/dicom-web/`` |
60 +---------------------------+----------------------------------------------+----------------------------------------------------------------+ 60 +---------------------------+----------------------------------------------+----------------------------------------------------------------+
61 | DicomWeb.Servers | ORTHANC__DICOM_WEB__SERVERS | ``{"sample": [ "http://127.0.0.1/dicom-web/"]}`` | 61 | DicomWeb.Servers | ORTHANC__DICOM_WEB__SERVERS | ``{"sample": [ "http://127.0.0.1/dicom-web/"]}`` |
62 +---------------------------+----------------------------------------------+----------------------------------------------------------------+ 62 +---------------------------+----------------------------------------------+----------------------------------------------------------------+
63 63
64 To find out a environment variable name from an Orthanc configuration 64 To find out an environment variable name from an Orthanc setting
65 (i.e. ``DicomWeb.StudiesMetadata`` is the ``path`` to a setting): 65 (i.e. ``DicomWeb.StudiesMetadata`` is the ``path`` to a setting):
66 66
67 - everytime a word contains a capital letter, insert an underscore ``_`` in front. 67 - everytime a word contains a capital letter, insert an underscore ``_`` in front.
68 ``DicomWeb.StudiesMetadata`` now becomes ``Dicom_Web.Studies_Metadata`` 68 ``DicomWeb.StudiesMetadata`` now becomes ``Dicom_Web.Studies_Metadata``
69 - everytime you go down one level in the json configuration, insert 69 - everytime you go down one level in the json configuration, insert
73 ``DICOM_WEB__STUDIES_METADATA`` 73 ``DICOM_WEB__STUDIES_METADATA``
74 - add ``ORTHANC__`` in front. ``DICOM_WEB__STUDIES_METADATA`` now becomes 74 - add ``ORTHANC__`` in front. ``DICOM_WEB__STUDIES_METADATA`` now becomes
75 ``ORTHANC__DICOM_WEB__STUDIES_METADATA`` 75 ``ORTHANC__DICOM_WEB__STUDIES_METADATA``
76 76
77 Note that, this automatic rule might fail because of 2 capital letters one after each other in some 77 Note that, this automatic rule might fail because of 2 capital letters one after each other in some
78 Orthanc configurations. Therefore, there are some `exceptions <https://bitbucket.org/osimis/orthanc-builder/src/orthanc-dyn-build/docker/orthanc/env-var-non-standards.json>`__ to this rule 78 Orthanc settings. Therefore, there are some `exceptions <https://bitbucket.org/osimis/orthanc-builder/src/orthanc-dyn-build/docker/orthanc/env-var-non-standards.json>`__ to this rule
79 that are however quite intuitive. 79 that are however quite intuitive.
80 80
81 Special environment variables 81 Special environment variables
82 ----------------------------- 82 -----------------------------
83 83
154 -------------- 154 --------------
155 155
156 .. highlight:: yaml 156 .. highlight:: yaml
157 157
158 When using your container in a ``Docker Swarm`` or ``Kubernetes`` environment, 158 When using your container in a ``Docker Swarm`` or ``Kubernetes`` environment,
159 it is usually to pass sensitive information through ``Docker Secrets``. 159 it is usually advised to pass sensitive information through ``Docker Secrets``.
160 For this purpose, any secret whose name is similar to the name of an 160 For this purpose, any secret whose name is similar to the name of an
161 environment variable is considered as an environment variable:: 161 environment variable is considered as an environment variable::
162 162
163 version: "3.3" 163 version: "3.3"
164 services: 164 services: