-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (75 loc) · 2.03 KB
/
docker-compose.yml
File metadata and controls
79 lines (75 loc) · 2.03 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
volumes:
db_data: {}
arc_data: {}
ldap_data: {}
ldap_config: {}
services:
app:
build:
context: .
dockerfile: Dockerfile
target: app
ports:
- "8008:8008"
user: nginx
depends_on:
- arc
ldap:
image: dcm4che/slapd-dcm4chee:2.6.0-26.0
# image: dcm4che/slapd-dcm4chee:2.6.8-34.1
logging:
driver: json-file
options:
max-size: "10m"
expose:
- 389
env_file: docker-compose.env
volumes:
- ldap_data:/var/lib/openldap/openldap-data
- ldap_config:/etc/openldap/slapd.d
- ./etc/openldap/data/modify-dcmRemapRetrieveURL.ldif:/etc/openldap/data/modify-dcmRemapRetrieveURL.ldif:ro
- ./etc/openldap/data/modify-dcmWebServicePath.ldif:/etc/openldap/data/modify-dcmWebServicePath.ldif:ro
db:
image: dcm4che/postgres-dcm4chee:11.22-34
logging:
driver: json-file
options:
max-size: "10m"
expose:
- 5432
env_file: docker-compose.env
volumes:
- db_data:/var/lib/postgresql/data
arc:
container_name: dcm4chee-arc
image: dcm4che/dcm4chee-arc-psql:5.34.0
logging:
driver: json-file
options:
max-size: "10m"
ports:
- "8080:8080"
- "8443:8443"
- "9990:9990"
- "9993:9993"
- "11112:11112"
- "2762:2762"
- "2575:2575"
- "12575:12575"
env_file: docker-compose.env
environment:
# Used to set the initial and maximal Java heap size to avoid
# problems retrieving large WSI bulk data annotations.
#
# The default is "-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m"
# Reference: https://github.com/dcm4che-dockerfiles/dcm4chee-arc-psql
JBOSS_JAVA_SIZING: "-Xms64m -Xmx4096m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=4096m"
WILDFLY_CHOWN: /opt/wildfly/standalone /storage
WILDFLY_WAIT_FOR: ldap:389 db:5432
HTTP_PROXY_ADDRESS_FORWARDING: "true"
ARCHIVE_HOST: localhost
depends_on:
- ldap
- db
volumes:
- arc_data:/storage