-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
85 lines (80 loc) · 2.64 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
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
version: '3.8'
services:
nginx:
image: nginx:latest
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
ports:
- 3335:8042
depends_on:
- orthanc
- ohif
restart: unless-stopped
db:
image: mariadb:10.4
environment:
MYSQL_DATABASE: "orthanc"
MYSQL_USER: "orthanc"
MYSQL_PASSWORD: "orthanc"
MYSQL_ROOT_PASSWORD: "testing123"
restart: unless-stopped
command:
- "--max_allowed_packet=500M"
volumes:
- "orthanc-data:/var/lib/mysql"
ports:
- "3301:3306"
orthanc:
# image: jodogne/orthanc-plugins:latest
image: osimis/orthanc:latest
hostname: orthanc
environment:
ORTHANC__NAME: "OpenERSAI"
OSIMIS_WEB_VIEWER1_PLUGIN_ENABLED: "true"
ORTHANC_WEB_VIEWER_PLUGIN_ENABLED: "true"
# you must enable the StoneViewer and the DicomWeb plugins
STONE_WEB_VIEWER_PLUGIN_ENABLED: "true"
DICOM_WEB_PLUGIN_ENABLED: "true"
WSI_PLUGIN_ENABLED: "true"
# StoneViewer configurations
ORTHANC__STONE_WEB_VIEWER__DATE_FORMAT: "DD/MM/YYYY"
# Expected message origin should match the external url. * can be used as an insecure default
ORTHANC__STONE_WEB_VIEWER__EXPECTED_MESSAGE_ORIGIN" : "*"
# ORTHANC__STONE_WEB_VIEWER__EXPECTED_MESSAGE_ORIGIN" : "http://localhost:8042"
ORTHANC__STONE_WEB_VIEWER__DICOM_CACHE_SIZE" : 250
ORTHANC__MYSQL__HOST: "db"
ORTHANC__MYSQL__PORT: "3306"
ORTHANC__MYSQL__DATABASE: "orthanc"
ORTHANC__MYSQL__USERNAME: "orthanc"
ORTHANC__MYSQL__PASSWORD: "orthanc"
ORTHANC__MYSQL__ENABLESSL: "false"
ORTHANC__MYSQL__SSLVERIFYSERVERCERTIFICATES: "true"
ORTHANC__MYSQL__SSLCACERTIFICATES: ""
# The following 2 settings do not appear to be recognised, so are also in the orthanc.json config file
ORTHANC__MYSQL__ENABLEINDEX: "true"
ORTHANC__MYSQL__ENABLESTORAGE: "true"
volumes:
# Config
- ./config/orthanc.json:/etc/orthanc/orthanc.json:ro
# Persist data - if not using MySQL
# - ./volumes/orthanc-db/:/var/lib/orthanc/db/
ports:
- 3337:8042
- '4242:4242' # DICOM
restart: unless-stopped
depends_on:
- db
ohif:
# image: ohif/viewer
build: https://github.com/OHIF/Viewers.git
volumes:
# NOTE: Supply the reference to an OHIF config file in a .env file as OHIF_CONFIG.
# This config file is environment specific as it needs urls/ip addresses including
- "./config/${OHIF_CONFIG:-ohif-remote.js}:/usr/share/nginx/html/app-config.js"
ports:
- "3336:80"
depends_on:
- orthanc
restart: unless-stopped
volumes:
orthanc-data: