Repository navigation
Expand file tree
/
Copy pathcaMicroscope.yml
More file actions
101 lines (100 loc) · 2.72 KB
/
Copy pathcaMicroscope.yml
File metadata and controls
101 lines (100 loc) · 2.72 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: '3'
services:
mongo:
image: mongo:8.0
container_name: ca-mongo
restart: always
logging:
options:
max-file: "5"
max-size: "10m"
volumes:
- ./db:/data/db
back:
build:
context: "https://github.com/camicroscope/caracal.git#v3.13.0"
args:
viewer: "v3.13.0"
depends_on:
- "mongo"
container_name: ca-back
restart: always
logging:
options:
max-file: "5"
max-size: "10m"
volumes:
- ./images/:/images/
- ./config/login.html:/src/static/login.html
- ./jwt_keys/:/src/keys/
- ./config/routes.json:/src/routes.json
- ./config/contentSecurityPolicy.json:/src/contentSecurityPolicy.json
environment:
JWK_URL: "https://www.googleapis.com/oauth2/v3/certs"
IIP_PATH: "http://ca-iip:8080/fcgi-bin/iipsrv.fcgi"
MONGO_URI: "mongodb://ca-mongo"
DISABLE_SEC: "false"
GENERATE_KEY_IF_MISSING: "true"
iip:
image: ghcr.io/camicroscope/iipimage:v3.13.0
container_name: ca-iip
logging:
options:
max-file: "5"
max-size: "10m"
restart: always
volumes:
- ./images/:/images/
loader:
build: "https://github.com/camicroscope/SlideLoader.git#v3.12.2"
container_name: ca-load
restart: always
logging:
options:
max-file: "5"
max-size: "10m"
volumes:
- ./images/:/images/
environment:
DICOM_PORT: "11112"
DICOM_UI_PORT: "8042"
dicomsrv:
build:
context: "https://github.com/camicroscope/dicomsrv.git#v3.13.0"
args:
indexer: "v3.12.0"
container_name: ca-dicomsrv
restart: unless-stopped
stdin_open: true
tty: true
# Port 8042 (Orthanc REST/GUI) is reached only via the "proxy" service below.
# Port 11112 (raw DICOM protocol) is intentionally not published here -- most
# deployments have no external DICOM peers. If yours does, re-add
# `ports: ["11112:11112"]` and first complete the Orthanc-native DICOM TLS
# setup in config/OrthancConfiguration.json (DicomTlsEnabled/DicomModalities);
# see the README.
volumes:
- ./jwt_keys/:/root/keys/
- ./images/:/images/
- ./config/OrthancConfiguration.json:/root/src/Configuration.json
environment:
DICOM_PORT: "11112"
DICOM_UI_PORT: "8042"
CARACAL_BACK_HOST_PORT: "ca-back:4010"
proxy:
image: nginx:1.27-alpine
container_name: ca-proxy
depends_on:
- back
- dicomsrv
ports:
- "443:443"
- "8443:8443"
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf:ro
- ./certs/:/etc/nginx/certs/:ro
restart: always
logging:
options:
max-file: "5"
max-size: "10m"