-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
57 lines (56 loc) · 1.8 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: "3.4"
services:
orthanc-a:
image: orthancteam/orthanc
ports: ["8042:8042"]
volumes: ["./tls:/tls", ]
environment:
DICOM_WEB_PLUGIN_ENABLED: "true"
CONNECTIVITY_CHECKS_PLUGIN_ENABLED: "true"
ORTHANC_JSON: |
{
"Name": "orthanc-a",
"AuthenticationEnabled": false,
"HttpsVerifyPeers": true,
"HttpsCACertificates": "/tls/ca-crt.pem",
"OrthancPeers" : {
"orthanc-b" : {
"Url" : "https://orthanc-b:8042",
"CertificateFile" : "/tls/orthanc-a-client-crt.pem",
"CertificateKeyFile" : "/tls/orthanc-a-client-key.pem",
"CertificateKeyPassword": "password"
}
},
"DicomWeb" : {
"Servers": {
"orthanc-b" : {
"Url" : "https://orthanc-b:8042/dicom-web",
"CertificateFile" : "/tls/orthanc-a-client-crt.pem",
"CertificateKeyFile" : "/tls/orthanc-a-client-key.pem",
"CertificateKeyPassword": "password"
}
}
}
}
orthanc-b:
image: orthancteam/orthanc
ports: ["8043:8042"]
volumes: ["./tls:/tls"]
environment:
VERBOSE_ENABLED: "true"
DICOM_WEB_PLUGIN_ENABLED: "true"
ORTHANC_JSON: |
{
"Name": "orthanc-b",
"AuthenticationEnabled": false,
"SslEnabled": true,
"SslCertificate": "/tls/orthanc-b-server-key+crt.pem",
"SslTrustedClientCertificates": "/tls/ca-crt.pem",
"SslVerifyPeers": true
}
healthcheck:
test: ["CMD-SHELL", "/probes/test-aliveness.py --certfile=/tls/orthanc-b-client-crt.pem --keyfile=/tls/orthanc-b-client-key.pem"]
start_period: 10s
retries: 2
interval: 10s
timeout: 5s