-
Notifications
You must be signed in to change notification settings - Fork 152
/
kc_caMicroscope.yml
117 lines (115 loc) · 2.9 KB
/
kc_caMicroscope.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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
version: '3'
volumes:
postgres_data:
name: postgres_data
services:
postgres:
image: postgres:15
container_name: ca-key-db
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: password
restart: always
logging:
options:
max-file: "5"
max-size: "10m"
keycloak:
container_name: ca-key
image: quay.io/keycloak/keycloak:latest
command: start-dev
environment:
KC_DB: postgres
KC_DB_URL: jdbc:postgresql://ca-key-db:5432/keycloak
KC_DB_USERNAME: keycloak
KC_DB_PASSWORD: password
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: password
ports:
- 8080:8080
restart: always
logging:
options:
max-file: "5"
max-size: "10m"
depends_on:
- postgres
mongo:
image: mongo:4.2-bionic
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.12.0"
args:
viewer: "v3.12.0"
depends_on:
- "mongo"
ports:
- "4010:4010"
container_name: ca-back
restart: always
logging:
options:
max-file: "5"
max-size: "10m"
volumes:
- ./images/:/images/
- ./config/keycloak_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: "http://ca-back:4010/keycloak/realms/camic/protocol/openid-connect/certs"
IIP_PATH: "http://ca-iip:8080/fcgi-bin/iipsrv.fcgi"
MONGO_URI: "mongodb://ca-mongo"
GENERATE_KEY_IF_MISSING: "true"
iip:
image: camicroscope/iipimage:version-3.11.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.0"
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: "https://github.com/camicroscope/dicomsrv.git#v3.11.1"
container_name: ca-dicomsrv
restart: unless-stopped
stdin_open: true
tty: true
ports:
- "8042:8042"
- "11112:11112"
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"