Mercurial > hg > orthanc
annotate Resources/Configuration.json @ 376:2cef9c2d4148
separate path for SQLite index, manual loading of external dictionaries
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 Apr 2013 11:13:51 +0200 |
parents | 87e09002576f |
children | ff647eedfbe1 3be5837ceb80 |
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, |
24 | 30 |
164 | 31 |
24 | 32 /** |
33 * Configuration of the HTTP server | |
34 **/ | |
35 | |
23 | 36 // HTTP port for the REST services and for the GUI |
151 | 37 "HttpPort" : 8042, |
12 | 38 |
24 | 39 |
40 | |
41 /** | |
42 * Configuration of the DICOM server | |
43 **/ | |
44 | |
23 | 45 // The DICOM Application Entity Title |
65 | 46 "DicomAet" : "ORTHANC", |
23 | 47 |
55 | 48 // Check whether the called AET corresponds during a DICOM request |
145 | 49 "DicomCheckCalledAet" : false, |
55 | 50 |
23 | 51 // The DICOM port |
12 | 52 "DicomPort" : 4242, |
23 | 53 |
24 | 54 |
55 | |
56 /** | |
57 * Security-related options | |
58 **/ | |
12 | 59 |
34
96e57b863dd9
option to disallow remote access
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
25
diff
changeset
|
60 // Whether remote hosts can connect to the HTTP server |
145 | 61 "RemoteAccessAllowed" : false, |
34
96e57b863dd9
option to disallow remote access
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
25
diff
changeset
|
62 |
23 | 63 // Whether or not SSL is enabled |
64 "SslEnabled" : false, | |
65 | |
66 // Path to the SSL certificate | |
67 "SslCertificate" : "certificate.pem", | |
68 | |
24 | 69 // 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
|
70 "AuthenticationEnabled" : false, |
24 | 71 |
64
71c4a4abe90b
renaming of resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
55
diff
changeset
|
72 // The list of the registered users. Because Orthanc uses HTTP |
24 | 73 // Basic Authentication, the passwords are stored as plain text. |
74 "RegisteredUsers" : { | |
75 "alice" : "alicePassword" | |
76 }, | |
77 | |
78 | |
25
dd1489098265
basic http authentication
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
24
diff
changeset
|
79 |
24 | 80 /** |
81 * Network topology | |
82 **/ | |
83 | |
84 // The list of the known DICOM modalities | |
85 "DicomModalities" : { | |
227
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
86 /** |
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
87 * Uncommenting the following line would enable Orthanc to |
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
88 * connect to an instance of the "storescp" open-source DICOM |
300 | 89 * store (shipped in the DCMTK distribution) started by the |
90 * command line "storescp 2000". | |
227
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
91 **/ |
209ca3f6db62
dicom-scu from rest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
167
diff
changeset
|
92 // "sample" : [ "STORESCP", "localhost", 2000 ] |
24 | 93 }, |
94 | |
64
71c4a4abe90b
renaming of resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
55
diff
changeset
|
95 // The list of the known Orthanc peers (currently unused) |
71c4a4abe90b
renaming of resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
55
diff
changeset
|
96 "OrthancPeers" : { |
12 | 97 } |
98 } |