annotate Sphinx/source/users/docker-osimis.rst @ 478:f7ad03a214fe

ce
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Aug 2020 09:18:15 +0200
parents 982774ebee52
children 9c5263c89272
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
1 .. _docker-osimis:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
2 .. highlight:: bash
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
3
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
4
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
5 Osimis Orthanc Docker images
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
6 ============================
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
7
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
8 .. contents::
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
9 :depth: 3
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
10
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
11
400
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
12 .. warning:: This documentation applies to ``osimis/orthanc`` images from the ``20.4.2`` version.
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
13
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
14 Note that these images have been re-written in April 2020. The documentation
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
15 for older images is still available `here <https://osimis.atlassian.net/wiki/spaces/OKB/pages/26738689/How+to+use+osimis+orthanc+Docker+images#Howtouseosimis/orthancDockerimages>`__
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
16
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
17 The new images are backward compatible with the previous images except for the
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
18 Google Cloud Platform configuration.
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
19
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
20 However, if you're still using legacy environment variables, you'll get some warning
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
21 encouraging you to update to the new namings since the backward compatibility
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
22 might be removed one day (currently planed in June 2021).
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
23
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
24
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
25 Introduction
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
26 ------------
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
27
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
28 Our commercial partner `Osimis <https://www.osimis.io>`__
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
29 `publishes separated Docker images
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
30 <https://hub.docker.com/repository/docker/osimis/orthanc>`__
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
31 that are used by their technical team in order to provide professional
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
32 support to their customers.
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
33
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
34 These images have been designed to be used with ``docker-compose`` and
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
35 provide a configuration system through:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
36
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
37 - environment variables
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
38 - Docker secrets
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
39 - classical configuration files
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
40 - a mix of these options
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
41
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
42 This `repository <https://bitbucket.org/osimis/orthanc-setup-samples/src>`__
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
43 contains lots of examples on how to use these images. In particular,
401
108f21475b4a fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 400
diff changeset
44 `this example <https://bitbucket.org/osimis/orthanc-setup-samples/src/master/docker/all-usages/docker-compose.yml>`__
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
45 shows all the way that can be used to generate the same
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
46 configuration in Orthanc.
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
47
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
48
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
49 Environmnent variables
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
50 ----------------------
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
51
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
52 Any part of the Orthanc configuration file can be configured through an
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
53 environment variable. Now that Orthanc and its plugins have hundreds of
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
54 configuration parameter, listing all these environment variable would be
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
55 too long. That's why we have defined a standard way of naming the variable:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
56
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
57 +---------------------------+----------------------------------------------+----------------------------------------------------------------+
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
58 | Orthanc configuration | Environment variable | Sample value |
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
59 +===========================+==============================================+================================================================+
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
60 | StableAge | ORTHANC__STABLE_AGE | ``30`` |
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
61 +---------------------------+----------------------------------------------+----------------------------------------------------------------+
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
62 | DicomWeb.Root | ORTHANC__DICOM_WEB__ROOT | ``/dicom-web/`` |
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
63 +---------------------------+----------------------------------------------+----------------------------------------------------------------+
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
64 | DicomWeb.Servers | ORTHANC__DICOM_WEB__SERVERS | ``{"sample": [ "http://127.0.0.1/dicom-web/"]}`` |
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
65 +---------------------------+----------------------------------------------+----------------------------------------------------------------+
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
66
398
Alain Mazy <alain@mazy.be>
parents: 395
diff changeset
67 To find out an environment variable name from an Orthanc setting
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
68 (i.e. ``DicomWeb.StudiesMetadata`` is the ``path`` to a setting):
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
69
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
70 - everytime a word contains a capital letter, insert an underscore ``_`` in front.
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
71 ``DicomWeb.StudiesMetadata`` now becomes ``Dicom_Web.Studies_Metadata``
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
72 - everytime you go down one level in the json configuration, insert
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
73 a double underscore ``__``. ``Dicom_Web.Studies_Metadata`` now becomes
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
74 ``Dicom_Web__Studies_Metadata``
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
75 - capitalize all letters. ``Dicom_Web__Studies_Metadata`` now becomes
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
76 ``DICOM_WEB__STUDIES_METADATA``
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
77 - add ``ORTHANC__`` in front. ``DICOM_WEB__STUDIES_METADATA`` now becomes
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
78 ``ORTHANC__DICOM_WEB__STUDIES_METADATA``
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
79
395
d44f6f93a987 osimis/orthanc doc update
Alain Mazy <alain@mazy.be>
parents: 393
diff changeset
80 Note that, this automatic rule might fail because of 2 capital letters one after each other in some
400
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
81 Orthanc settings. Therefore, there are some `exceptions <https://bitbucket.org/osimis/orthanc-builder/src/master/docker/orthanc/env-var-non-standards.json>`__ to this rule
395
d44f6f93a987 osimis/orthanc doc update
Alain Mazy <alain@mazy.be>
parents: 393
diff changeset
82 that are however quite intuitive.
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
83
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
84 Special environment variables
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
85 -----------------------------
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
86
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
87 Other environment variables are not related to the Orthanc configuration file
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
88 but can be specified to control the way Orthanc is run.
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
89
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
90 - ``VERBOSE_STARTUP=true`` will allow you to debug the startup process and see
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
91 the configuration that has been provided to Orthanc. This setup should be
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
92 disabled in production since it might display secret information like passwords
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
93 in your logs
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
94 - ``VERBOSE_ENABLED=true`` will start Orthanc with the ``--verbose`` option
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
95 - ``TRACE_ENABLED=true`` will start Orthanc with the ``--trace`` option
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
96 - ``NO_JOBS=true`` will start Orthanc with the ``--no-jobs`` option
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
97 - ``UNLOCK=true`` will start Orthanc with the ``--unlock`` option
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
98 - ``MALLOC_ARENA_MAX=10`` will :ref:`control memory usage <scalability-memory>`
395
d44f6f93a987 osimis/orthanc doc update
Alain Mazy <alain@mazy.be>
parents: 393
diff changeset
99 - ``ORTHANC_JSON`` can be used to pass a json "root" configuration (see below).
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
100
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
101 Configuration files
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
102 -------------------
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
103
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
104 .. highlight:: yaml
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
105
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
106 Configuration files should be stored in the ``/etc/orthanc/`` folder inside the Docker image.
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
107 This is done by building an image thanks to a ``Dockerfile``::
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
108
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
109 FROM osimis/orthanc
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
110 COPY orthanc.json /etc/orthanc/
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
111
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
112
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
113 Configuration files can also be passed as secrets as shown in this ``docker-compose.yml``::
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
114
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
115 version: "3.3"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
116 services:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
117 orthanc-file-in-secrets:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
118 image: osimis/orthanc
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
119 depends_on: [index-db]
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
120 ports: ["8201:8042"]
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
121 environment:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
122 VERBOSE_STARTUP: "true"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
123
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
124 secrets:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
125 - orthanc.secret.json
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
126
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
127 secrets:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
128 orthanc.secret.json:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
129 file: orthanc.secret.json
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
130
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
131 Finaly, a whole configuration file can be passed as a JSON through the ``ORTHANC_JSON`` environment variable::
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
132
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
133 version: "3.3"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
134 services:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
135 orthanc-file-in-env-var:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
136 image: osimis/orthanc
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
137 depends_on: [index-db]
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
138 ports: ["8200:8042"]
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
139 environment:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
140 VERBOSE_ENABLED: "true"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
141 OSIMIS_WEB_VIEWER1_PLUGIN_ENABLED: "true"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
142
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
143 ORTHANC_JSON: |
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
144 {
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
145 "Name": "orthanc-file-in-env-var",
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
146 "PostgreSQL" : {
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
147 "Host": "index-db",
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
148 "Password": "pg-password"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
149 },
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
150 "RegisteredUsers": {
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
151 "demo": "demo"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
152 }
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
153 }
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
154
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
155
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
156 Docker secrets
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
157 --------------
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
158
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
159 .. highlight:: yaml
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
160
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
161 When using your container in a ``Docker Swarm`` or ``Kubernetes`` environment,
398
Alain Mazy <alain@mazy.be>
parents: 395
diff changeset
162 it is usually advised to pass sensitive information through ``Docker Secrets``.
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
163 For this purpose, any secret whose name is similar to the name of an
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
164 environment variable is considered as an environment variable::
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
165
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
166 version: "3.3"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
167 services:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
168 orthanc-with-direct-secret:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
169 image: osimis/orthanc
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
170 depends_on: [index-db]
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
171 ports: ["8003:8042"]
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
172 environment:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
173 ORTHANC__NAME: "orthanc-with-direct-secret"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
174 VERBOSE_ENABLED: "true"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
175
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
176 OSIMIS_WEB_VIEWER1_PLUGIN_ENABLED: "true"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
177
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
178 ORTHANC__POSTGRESQL__HOST: "index-db"
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
179 ORTHANC__REGISTERED_USERS: |
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
180 {"demo": "demo"}
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
181
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
182 secrets:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
183 - ORTHANC__POSTGRESQL__PASSWORD
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
184 secrets:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
185 ORTHANC__POSTGRESQL__PASSWORD:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
186 file: ORTHANC__POSTGRESQL__PASSWORD
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
187
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
188
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
189 Mixing configuration
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
190 --------------------
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
191
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
192 Parts of your configuration can be defined in a configuration file,
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
193 another part in an environment variable and yet another in a secret.
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
194 If the same setting is defined in multiple location, the latest one
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
195 will overwrite the first. Settings are evaluated in this order:
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
196
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
197 - JSON files from ``/etc/orthanc/``
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
198 - JSON files from ``/run/secrets`` (Docker secrets are copied there
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
199 by Docker)
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
200 - environment variables
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
201 - secret environment variables
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
202
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
203 At this point, if some settings have not been defined yet, some defaults
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
204 are applied (see below).
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
205
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
206
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
207 Default configuration
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
208 ---------------------
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
209
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
210 .. highlight:: json
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
211
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
212 Orthanc and each plugin might have some default settings that might
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
213 eventually be different from the defaults included in the Orthanc
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
214 executable or the plugin library.
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
215
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
216 .. below json is copied from orthanc-builder/docker/orthanc/orthanc-defaults.json
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
217
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
218 Orthanc non-standard defaults::
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
219
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
220 {
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
221 "StorageDirectory" : "/var/lib/orthanc/db",
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
222
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
223 "RemoteAccessAllowed": true,
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
224 "AuthenticationEnabled": true,
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
225
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
226 "HttpsCACertificates" : "/etc/ssl/certs/ca-certificates.crt",
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
227
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
228 "Plugins" : ["/usr/share/orthanc/plugins/"]
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
229 }
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
230
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
231
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
232 Plugins
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
233 -------
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
234
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
235 Plugins are automatically enabled as soon as you define a setting
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
236 in their JSON section or as soon as you define to ``true`` their
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
237 specific environment variable.
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
238
418
0c9a52bc20d9 fix gdcm dock in osimis docker
Alain Mazy <alain@mazy.be>
parents: 417
diff changeset
239 Below is a list of all plugins, their environment variable and their default configuration
0c9a52bc20d9 fix gdcm dock in osimis docker
Alain Mazy <alain@mazy.be>
parents: 417
diff changeset
240 (only when their default configuration is different from the plugin defaults):
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
241
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
242
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
243 .. below table is obtained by running orthanc-builder/docker/orthanc/generatePluginDoc.py
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
244
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
245
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
246 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
247 | Plugin | Environment variable | Default configuration |
457
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
248 +==================================================+==================================================+====================================================================================================+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
249 | **Authorization** | ``AUTHORIZATION_PLUGIN_ENABLED`` | |
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
250 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
457
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
251 | **ConnectivityChecks** | ``CONNECTIVITY_CHECKS_PLUGIN_ENABLED`` | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
252 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
253 | **DicomWeb** | ``DICOM_WEB_PLUGIN_ENABLED`` | .. code-block:: json |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
254 | | | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
255 | | | { |
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
256 | | | "DicomWeb": { |
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
257 | | | "Enable": true |
457
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
258 | | | } |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
259 | | | } |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
260 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
261 | **Gdcm** | ``GDCM_PLUGIN_ENABLED`` | .. code-block:: json |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
262 | | Note: enabled by default | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
263 | | | { |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
264 | | | "Gdcm": { |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
265 | | | "Throttling": 4, |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
266 | | | "RestrictTransferSyntaxes": [ |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
267 | | | "1.2.840.10008.1.2.4.90", |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
268 | | | "1.2.840.10008.1.2.4.91", |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
269 | | | "1.2.840.10008.1.2.4.92", |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
270 | | | "1.2.840.10008.1.2.4.93" |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
271 | | | ] |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
272 | | | } |
393
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
273 | | | } |
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
274 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
43c5a1274740 doc for osimis/orthanc images
Alain Mazy <alain@mazy.be>
parents:
diff changeset
275 | **OrthancWebViewer** | ``ORTHANC_WEB_VIEWER_PLUGIN_ENABLED`` | |
457
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
276 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
277 | **OsimisWebViewerBasic** | ``OSIMIS_WEB_VIEWER1_PLUGIN_ENABLED`` | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
278 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
279 | **OsimisWebViewerBasicAlpha** | ``OSIMIS_WEB_VIEWER1_ALPHA_PLUGIN_ENABLED`` | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
280 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
281 | **PostgreSQL** | ``POSTGRESQL_PLUGIN_ENABLED`` | .. code-block:: json |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
282 | | | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
283 | | | { |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
284 | | | "PostgreSQL": { |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
285 | | | "EnableIndex": true, |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
286 | | | "EnableStorage": false, |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
287 | | | "Port": 5432, |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
288 | | | "Host": "HOST MUST BE DEFINED", |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
289 | | | "Database": "postgres", |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
290 | | | "Username": "postgres", |
417
47d772aa7b3e added Gdcm entry for osimis/orthanc docker images
Alain Mazy <alain@mazy.be>
parents: 401
diff changeset
291 | | | "Password": "postgres", |
457
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
292 | | | "EnableSsl": false, |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
293 | | | "Lock": false |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
294 | | | } |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
295 | | | } |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
296 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
297 | **MySQL** | ``MYSQL_PLUGIN_ENABLED`` | .. code-block:: json |
417
47d772aa7b3e added Gdcm entry for osimis/orthanc docker images
Alain Mazy <alain@mazy.be>
parents: 401
diff changeset
298 | | | |
457
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
299 | | | { |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
300 | | | "MySQL": { |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
301 | | | "EnableIndex": true, |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
302 | | | "EnableStorage": false, |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
303 | | | "Port": 3306, |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
304 | | | "Host": "HOST MUST BE DEFINED", |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
305 | | | "Database": "mysql", |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
306 | | | "Username": "root", |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
307 | | | "Password": "mysql", |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
308 | | | "Lock": false |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
309 | | | } |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
310 | | | } |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
311 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
312 | **Python** | ``PYTHON_PLUGIN_ENABLED`` | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
313 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
314 | **ServeFolders** | ``SERVE_FOLDERS_PLUGIN_ENABLED`` | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
315 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
316 | **Transfers** | ``TRANSFERS_PLUGIN_ENABLED`` | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
317 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
318 | **Worklists** | ``WORKLISTS_PLUGIN_ENABLED`` | .. code-block:: json |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
319 | | | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
320 | | | { |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
321 | | | "Worklists": { |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
322 | | | "Enable": true, |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
323 | | | "Database": "/var/lib/orthanc/worklists" |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
324 | | | } |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
325 | | | } |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
326 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
327 | **Wsi** | ``WSI_PLUGIN_ENABLED`` | |
982774ebee52 updated osimis/orthanc
Alain Mazy <alain@mazy.be>
parents: 418
diff changeset
328 +--------------------------------------------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------+
417
47d772aa7b3e added Gdcm entry for osimis/orthanc docker images
Alain Mazy <alain@mazy.be>
parents: 401
diff changeset
329
395
d44f6f93a987 osimis/orthanc doc update
Alain Mazy <alain@mazy.be>
parents: 393
diff changeset
330 Under the hood
d44f6f93a987 osimis/orthanc doc update
Alain Mazy <alain@mazy.be>
parents: 393
diff changeset
331 --------------
d44f6f93a987 osimis/orthanc doc update
Alain Mazy <alain@mazy.be>
parents: 393
diff changeset
332
400
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
333 The source code that is used to generate the image can be found `here <https://bitbucket.org/osimis/orthanc-builder/src/master/docker/orthanc/Dockerfile>`__.
395
d44f6f93a987 osimis/orthanc doc update
Alain Mazy <alain@mazy.be>
parents: 393
diff changeset
334
400
f6464ae6342b fix links in docker-osimis
Alain Mazy <alain@mazy.be>
parents: 398
diff changeset
335 The python script that is used at startup can be found `here <https://bitbucket.org/osimis/orthanc-builder/src/master/docker/orthanc/generateConfiguration.py>`__