-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (45 loc) · 1.32 KB
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (45 loc) · 1.32 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
services:
orthanc-cache:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- "8042:8042"
volumes:
- ./orthanc_cache_plugin:/usr/share/orthanc/plugins/orthanc_cache_plugin
- ./enable_cache_plugin_dev.py:/tmp/enable_cache_plugin_dev.py
- ./.data/orthanc-cache:/var/lib/orthanc/db
environment:
ORTHANC__NAME: "Orthanc With Cache Plugin (DEV)"
VERBOSE_ENABLED: "true"
VERBOSE_STARTUP: "true"
ORTHANC__STABLE_AGE: 3
ORTHANC__PYTHON_SCRIPT: "/tmp/enable_cache_plugin_dev.py"
ORTHANC__PYTHON_VERBOSE: "true"
orthanc:
image: osimis/orthanc
ports:
- "8043:8042"
volumes:
- ./.data/orthanc:/var/lib/orthanc/db
environment:
ORTHANC__NAME: "Orthanc"
VERBOSE_ENABLED: "true"
VERBOSE_STARTUP: "true"
ORTHANC__STABLE_AGE: 3
orthanc-cache-latest:
build:
context: .
dockerfile: Dockerfile
ports:
- "8044:8042"
volumes:
- ./enable_cache_plugin.py:/tmp/enable_cache_plugin.py
- ./.data/orthanc-cache-latest:/var/lib/orthanc/db
environment:
ORTHANC__NAME: "Orthanc With Cache Plugin"
VERBOSE_ENABLED: "true"
VERBOSE_STARTUP: "true"
ORTHANC__STABLE_AGE: 3
ORTHANC__PYTHON_SCRIPT: "/tmp/enable_cache_plugin.py"
ORTHANC__PYTHON_VERBOSE: "true"