Mercurial > hg > orthanc
annotate Resources/Configuration.json @ 394:9784f19f7e1b lua-scripting
path relative to configuration path, list of lua scripts
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 May 2013 11:02:15 +0200 |
parents | 3be5837ceb80 |
children | 2d269089078f |
rev | line source |
---|---|
12 | 1 { |
24 | 2 /** |
64
71c4a4abe90b
renaming of resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
55
diff
changeset
|
3 * General configuration of Orthanc |
24 | 4 **/ |
5 | |
236 | 6 // The logical name of this instance of Orthanc. This one is |
7 // displayed in Orthanc Explorer and at the URI "/system". | |
8 "Name" : "MyOrthanc", | |
9 | |
376
2cef9c2d4148
separate path for SQLite index, manual loading of external dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
10 // Path to the directory that holds the heavyweight files |
2cef9c2d4148
separate path for SQLite index, manual loading of external dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
11 // (i.e. the raw DICOM instances) |
64
71c4a4abe90b
renaming of resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
55
diff
changeset
|
12 "StorageDirectory" : "OrthancStorage", |
23 | 13 |
376
2cef9c2d4148
separate path for SQLite index, manual loading of external dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
14 // Path to the directory that holds the SQLite index (if unset, |
2cef9c2d4148
separate path for SQLite index, manual loading of external dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
15 // the value of StorageDirectory is used). This index could be |
2cef9c2d4148
separate path for SQLite index, manual loading of external dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
16 // stored on a RAM-drive or a SSD device for performance reasons. |
2cef9c2d4148
separate path for SQLite index, manual loading of external dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
17 "IndexDirectory" : "OrthancStorage", |
2cef9c2d4148
separate path for SQLite index, manual loading of external dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
18 |
236 | 19 // Enable the transparent compression of the DICOM instances |
20 "StorageCompression" : false, | |
24 | 21 |
270
e6a4c4329481
parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
236
diff
changeset
|
22 // Maximum size of the storage in MB (a value of "0" indicates no |
e6a4c4329481
parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
236
diff
changeset
|
23 // limit on the storage size) |
e6a4c4329481
parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
236
diff
changeset
|
24 "MaximumStorageSize" : 0, |
e6a4c4329481
parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
236
diff
changeset
|
25 |
e6a4c4329481
parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
236
diff
changeset
|
26 // Maximum number of patients that can be stored at a given time |
e6a4c4329481
parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
236
diff
changeset
|
27 // in the storage (a value of "0" indicates no limit on the number |
e6a4c4329481
parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
236
diff
changeset
|
28 // of patients) |
e6a4c4329481
parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
236
diff
changeset
|
29 "MaximumPatientCount" : 0, |
390 | 30 |
394
9784f19f7e1b
path relative to configuration path, list of lua scripts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
390
diff
changeset
|
31 // List of paths to the custom Lua scripts to load into this |
9784f19f7e1b
path relative to configuration path, list of lua scripts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
390
diff
changeset
|
32 // instance of Orthanc |
9784f19f7e1b
path relative to configuration path, list of lua scripts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
390
diff
changeset
|
33 "LuaScripts" : [ |
9784f19f7e1b
path relative to configuration path, list of lua scripts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
390
diff
changeset
|
34 ], |
9784f19f7e1b
path relative to configuration path, list of lua scripts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
390
diff
changeset
|
35 |
24 | 36 |
164 | 37 |
24 | 38 /** |
39 * Configuration of the HTTP server | |
40 **/ | |
41 | |
23 | 42 // HTTP port for the REST services and for the GUI |
151 | 43 "HttpPort" : 8042, |
12 | 44 |
24 | 45 |
46 | |
47 /** | |
48 * Configuration of the DICOM server | |
49 **/ | |
50 | |
23 | 51 // The DICOM Application Entity Title |
65 | 52 "DicomAet" : "ORTHANC", |
23 | 53 |
55 | 54 // Check whether the called AET corresponds during a DICOM request |
145 | 55 "DicomCheckCalledAet" : false, |
55 | 56 |
23 | 57 // The DICOM port |
12 | 58 "DicomPort" : 4242, |
23 | 59 |
24 | 60 |
61 | |
62 /** | |
63 * Security-related options | |
64 **/ | |
12 | 65 |
34
96e57b863dd9
option to disallow remote access
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
25
diff
changeset
|
66 // Whether remote hosts can connect to the HTTP server |
145 | 67 "RemoteAccessAllowed" : false, |
34
96e57b863dd9
option to disallow remote access
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
25
diff
changeset
|
68 |
23 | 69 // Whether or not SSL is enabled |
70 "SslEnabled" : false, | |
71 | |
72 // Path to the SSL certificate | |
73 "SslCertificate" : "certificate.pem", | |
74 | |
24 | 75 // Whether or not the password protection is enabled |
34
96e57b863dd9
option to disallow remote access
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
25
diff
changeset
|
76 "AuthenticationEnabled" : false, |
24 | 77 |
64
71c4a4abe90b
renaming of resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
55
diff
changeset
|
78 // The list of the registered users. Because Orthanc uses HTTP |
24 | 79 // Basic Authentication, the passwords are stored as plain text. |
80 "RegisteredUsers" : { | |
81 "alice" : "alicePassword" | |
82 }, | |
83 | |
84 | |
25
dd1489098265
basic http authentication
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
24
diff
changeset
|
85 |
24 | 86 /** |
87 * Network topology | |
88 **/ | |
89 | |
90 // The list of the known DICOM modalities | |
91 "DicomModalities" : { | |
227
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
92 /** |
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
93 * Uncommenting the following line would enable Orthanc to |
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
94 * connect to an instance of the "storescp" open-source DICOM |
300 | 95 * store (shipped in the DCMTK distribution) started by the |
96 * command line "storescp 2000". | |
227
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
97 **/ |
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
98 // "sample" : [ "STORESCP", "localhost", 2000 ] |
24 | 99 }, |
100 | |
64
71c4a4abe90b
renaming of resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
55
diff
changeset
|
101 // The list of the known Orthanc peers (currently unused) |
71c4a4abe90b
renaming of resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
55
diff
changeset
|
102 "OrthancPeers" : { |
12 | 103 } |
104 } |