forked from pan-dora/pandora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
191 lines (177 loc) · 4.02 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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
version: "2.1"
services:
activemq:
image: pandorasystems/activemq
container_name: activemq
ports:
- "61616:61616"
- "8181:8181"
healthcheck:
test: ["CMD", "curl", "-f", "http://activemq:8181/activemqweb"]
interval: 45s
timeout: 20s
retries: 10
networks:
- apix-ipv6
apix:
image: pandorasystems/apix
container_name: apix
env_file: apix.env
ports:
- "8001:80"
depends_on:
- fcrepo
healthcheck:
test: ["CMD", "/usr/local/bin/docker-healthcheck.sh"]
interval: 20s
timeout: 20s
retries: 3
networks:
- apix-ipv6
links:
- fcrepo:localhost
exts-sparqler:
image: pandorasystems/exts-sparqler
container_name: exts-sparqler
ports:
- "9104:9104"
environment:
- FUSEKI_BASEURI=http4://fuseki:3030
depends_on:
apix:
condition: service_healthy
networks:
- apix-ipv6
apix-sparqler-public-api:
image: pandorasystems/apix-sparqler-public-api
container_name: apix-sparqler-public-api
ports:
- "3099:3000"
depends_on:
redis:
condition: service_healthy
networks:
- apix-ipv6
image-services:
image: pandorasystems/image-services
container_name: image-services
ports:
- "9105:9105"
environment:
- FCREPO_BASEURI=http://localhost:8080/fcrepo/rest
depends_on:
apix:
condition: service_healthy
volumes:
- loris-volume:/tmp/binaries
links:
- fcrepo:localhost
networks:
- apix-ipv6
messaging:
image: pandorasystems/messaging
container_name: messaging
ports:
- "9080:9080"
environment:
- FCREPO_BASEURI=http4://localhost:8080/fcrepo/rest
- FUSEKI_BASEURI=http4://fuseki:3030/fuseki/manifests
depends_on:
- fcrepo
links:
- fcrepo:localhost
networks:
- apix-ipv6
fcrepo:
image: pandorasystems/fcrepo:4.8.0-SNAPSHOT
container_name: fcrepo
environment:
CATALINA_OPTS: -Dfcrepo.home=/mnt/fcrepo-data -Dfcrepo.spring.configuration=file:/etc/fcrepo/fcrepo-config.xml -Xss8M -Dfcrepo.modeshape.configuration=file:/etc/fcrepo/repository.json
ports:
- "8080:8080"
depends_on:
activemq:
condition: service_healthy
volumes:
- fcrepo-volume:/mnt/fcrepo-data
networks:
- apix-ipv6
fuseki:
image: pandorasystems/fuseki
container_name: fuseki
environment:
CATALINA_OPTS: -Xmx8G -Xss8M
ports:
- "3030:3030"
volumes:
- fuseki-volume:/shared
networks:
- apix-ipv6
loris:
image: pandorasystems/loris:2.1.1
container_name: loris
ports:
- "5004:5004"
volumes:
- loris-volume:/tmp/binaries
- loris-cache:/tmp/loris/cache
networks:
- apix-ipv6
redis:
image: pandorasystems/redis
container_name: redis
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "/usr/local/bin/docker-healthcheck.sh"]
interval: 45s
timeout: 20s
retries: 1
networks:
- apix-ipv6
mirador-sul:
image: ubl2/mirador-sul:0.0.4
container_name: mirador-sul
ports:
- "9000:4000"
volumes:
- mirador-volume:/usr/src/app/db
networks:
- apix-ipv6
uv-webapp:
image: pandoraframework/uv-webapp:2.0.0
container_name: uv-webapp
ports:
- "9001:9001"
networks:
- apix-ipv6
volumes:
fcrepo-volume:
# driver_opts:
# type: none
# device: /mnt/pandora-data/fcrepo-data
# o: bind
loris-cache:
loris-volume:
# driver_opts:
# type: none
# device: /mnt/pandora-data/loris/binaries
# o: bind
fuseki-volume:
# driver_opts:
# type: none
# device: /mnt/pandora-data/fuseki
# o: bind
mirador-volume:
driver_opts:
type: none
device: /mnt/mirador-data
o: bind
networks:
apix-ipv6:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: 2001:db8:2::/64