-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
226 lines (205 loc) · 6.26 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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
version: '3'
services:
mongo:
image: mongo
ports:
- 27017:27017
volumes:
- mongo-data-directory:/data/db
rabbitmq:
image: rabbitmq:management
restart: "no"
ports:
- "5672:5672"
- "15672:15672"
healthcheck:
test: ["CMD", "rabbitmqctl", "status"]
interval: 30s
timeout: 10s
retries: 5
keycloak:
image: protegeproject/keycloak
# ports:
# - 8080:8080
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: password
PROXY_ADDRESS_FORWARDING: "true"
KEYCLOAK_LOGLEVEL: DEBUG
KEYCLOAK_FRONTEND_URL: "http://webprotege-local.edu/auth"
KEYCLOAK_IMPORT: /tmp/webprotege.json
KEYCLOAK_HOSTNAME_ADMIN_URL: "http://webprotege-local.edu/auth"
volumes:
- keycloak-h2-directory:/opt/jboss/keycloak/standalone/data
- ./keycloak:/tmp
healthcheck:
test: [ "CMD", "curl", "--fail", "http://localhost:8080/auth/realms/master" ]
interval: 30s
timeout: 10s
retries: 5
zipkin:
image: openzipkin/zipkin
ports:
- 9411:9411
minio:
image: minio/minio
command: [ "server", "/data", "--console-address", ":9001" ]
restart: always
volumes:
- minio_data:/data
ports:
- '9000:9000'
- '9001:9001'
environment:
MINIO_ROOT_USER: webprotege
MINIO_ROOT_PASSWORD: webprotege
webprotege-gwt-api-gateway:
image: protegeproject/webprotege-gwt-api-gateway:1.0.10
depends_on:
keycloak:
condition: service_healthy
minio:
condition: service_started
rabbitmq:
condition: service_healthy
zipkin:
condition: service_started
environment:
spring.zipkin.baseUrl: http://zipkin:9411
JDK_JAVA_OPTIONS: --add-opens java.base/sun.net=ALL-UNNAMED
SPRING_RABBITMQ_PUBLISHER_CONFIRM_TYPE: NONE
SPRING_RABBITMQ_PUBLISHER_RETURNS: "FALSE"
webprotege.minio.bucketName: "webprotege-uploads"
webprotege.minio.accessKey: webprotege
webprotege.minio.secretKey: webprotege
webprotege.minio.endPoint: http://minio:9000
spring.servlet.multipart.max-file-size: 200MB
spring.servlet.multipart.max-request-size: 200MB
webprotege.rabbit.timeout: 600000
webprotege-gwt-ui-server:
image: protegeproject/webprotege-gwt-ui-server:5.0.13
depends_on:
webprotege-gwt-api-gateway:
condition: service_started
keycloak:
condition: service_healthy
# ports:
# - 8888:8080
environment:
minio.access.key: minioadmin
minio.access.secret: minioadmin
minio.endPoint: http://minio:9000
webprotege.gwt-api-gateway.endPoint: http://webprotege-gwt-api-gateway:7777
webprotege.rabbit.timeout: 300000
webprotege-authorization-service:
image: protegeproject/webprotege-authorization-service:1.0.2
depends_on:
keycloak:
condition: service_healthy
mongo:
condition: service_started
zipkin:
condition: service_started
rabbitmq:
condition: service_healthy
environment:
spring.data.mongodb.host: mongo
spring.data.mongodb.database: webprotege
keycloak.jwk-set-uri: http://keycloak:8080
spring.zipkin.baseUrl: http://zipkin:9411
JDK_JAVA_OPTIONS: --add-opens java.base/sun.net=ALL-UNNAMED
webprotege-user-management-service:
image: protegeproject/webprotege-user-management-service:1.0.1
depends_on:
keycloak:
condition: service_healthy
mongo:
condition: service_started
zipkin:
condition: service_started
rabbitmq:
condition: service_healthy
environment:
JDK_JAVA_OPTIONS: --add-opens java.base/sun.net=ALL-UNNAMED
webprotege-event-history-service:
image: protegeproject/webprotege-event-history-service:1.0.2
ports:
- '5006:5006'
depends_on:
mongo:
condition: service_started
zipkin:
condition: service_started
rabbitmq:
condition: service_healthy
environment:
JDK_JAVA_OPTIONS: --add-opens java.base/sun.net=ALL-UNNAMED
_JAVA_OPTIONS: >
-Xdebug
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5006
webprotege-ontology-processing-service:
image: protegeproject/webprotege-ontology-processing-service:1.0.0
depends_on:
rabbitmq:
condition: service_healthy
minio:
condition: service_started
zipkin:
condition: service_started
environment:
JDK_JAVA_OPTIONS: --add-opens java.base/sun.net=ALL-UNNAMED
webprotege.minio.accessKey: webprotege
webprotege.minio.secretKey: webprotege
webprotege.minio.endPoint: http://minio:9000
webprotege-initial-revision-history-service:
image: protegeproject/webprotege-initial-revision-history-service:1.0.0
depends_on:
rabbitmq:
condition: service_healthy
minio:
condition: service_started
zipkin:
condition: service_started
environment:
JDK_JAVA_OPTIONS: --add-opens java.base/sun.net=ALL-UNNAMED
webprotege.minio.accessKey: webprotege
webprotege.minio.secretKey: webprotege
webprotege.minio.endPoint: http://minio:9000
webprotege-backend-service:
user: root
image: protegeproject/webprotege-backend-service:1.3.3
ports:
- '5005:5005'
depends_on:
mongo:
condition: service_started
zipkin:
condition: service_started
rabbitmq:
condition: service_healthy
environment:
spring.zipkin.baseUrl: http://zipkin:9411
webprotege.minio.accessKey: webprotege
webprotege.minio.secretKey: webprotege
webprotege.minio.endPoint: http://minio:9000
webprotege.directories.data: /srv/webprotege
_JAVA_OPTIONS: >
-Xdebug
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
JDK_JAVA_OPTIONS: --add-opens java.base/sun.net=ALL-UNNAMED
webprotege.rabbit.timeout: 600000
volumes:
- webprotege-data-directory:/srv/webprotege
nginx:
image: protegeproject/webprotege-nginx:1.2.0
hostname: webprotege-local.edu
ports:
- 80:80
depends_on:
- webprotege-gwt-ui-server
- keycloak
volumes:
webprotege-data-directory:
mongo-data-directory:
keycloak-h2-directory:
minio_data: