-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (59 loc) · 1.4 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
version: "3"
services:
ldap:
image: dcm4che/slapd-dcm4chee:2.4.48-22.1
logging:
driver: json-file
options:
max-size: "10m"
ports:
- "389:389"
env_file: docker-compose.env
volumes:
- /opt/dcm4chee-arc/ldap:/var/lib/openldap/openldap-data
- /opt/dcm4chee-arc/slapd.d:/etc/openldap/slapd.d
deploy:
placement:
constraints: [node.hostname == node1]
db:
image: dcm4che/postgres-dcm4chee:12.2-22
logging:
driver: json-file
options:
max-size: "10m"
ports:
- "5432:5432"
env_file: docker-compose.env
volumes:
- /opt/dcm4chee-arc/db:/var/lib/postgresql/data
deploy:
placement:
constraints: [node.hostname == node2]
arc:
image: dcm4che/dcm4chee-arc-psql:5.22.1
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:
WILDFLY_CHOWN: /opt/wildfly/standalone /storage
WILDFLY_WAIT_FOR: ldap:389 db:5432
depends_on:
- ldap
- db
volumes:
- /opt/dcm4chee-arc/wildfly:/opt/wildfly/standalone
- /opt/dcm4chee-arc/storage:/storage
deploy:
placement:
constraints: [node.hostname == node3]