-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
517 lines (517 loc) · 14.9 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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
version: '3.4'
x-logging:
&default-logging
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
x-extended-logging:
&extended-logging
driver: "json-file"
options:
max-size: "50m"
max-file: "20"
services:
identifier:
image: semtech/mu-identifier:1.10.0
logging: *default-logging
restart: always
labels:
- "logging=true"
dispatcher:
image: semtech/mu-dispatcher:2.1.0-beta.2
volumes:
- ./config/dispatcher:/config
logging: *default-logging
restart: always
labels:
- "logging=true"
frontend:
image: kanselarij/frontend-kaleidos:9.2.0
environment:
EMBER_OAUTH_CLIENT_ID: "b1c78c1e-3c88-44f4-90fa-bebc5c5dc28d"
EMBER_OAUTH_BASE_URL: "https://authenticatie-ti.vlaanderen.be/op/v1/auth"
EMBER_OAUTH_REDIRECT_URL: "https://kaleidos-dev.vlaanderen.be/authorization/callback"
EMBER_OAUTH_LOGOUT_URL: "https://authenticatie-ti.vlaanderen.be/op/v1/logout"
logging: *default-logging
restart: always
labels:
- "logging=true"
migrations:
image: semtech/mu-migrations-service:0.7.0
volumes:
- ./config/migrations:/data/migrations
environment:
MU_SPARQL_ENDPOINT: "http://triplestore:8890/sparql"
MU_SPARQL_TIMEOUT: 300
logging: *default-logging
restart: always
labels:
- "logging=true"
database:
image: semtech/sparql-parser:0.0.13
volumes:
- ./config/new-authorization:/config
- ./data/mu-cl-authorization:/data/
logging: *extended-logging
restart: always
labels:
- "logging=true"
triplestore:
image: redpencil/virtuoso:1.2.1
environment:
SPARQL_UPDATE: "true"
DEFAULT_GRAPH: "http://mu.semte.ch/application"
volumes:
- ./data/db:/data
- ./config/db/virtuoso.ini:/data/virtuoso.ini
- ./config/db/:/opt/virtuoso-scripts
logging: *default-logging
restart: always
labels:
- "logging=true"
search:
image: semtech/mu-search:0.9.3
volumes:
- ./config/search:/config
- ./data/files:/data
- ./data/tika/cache:/cache
environment:
NUMBER_OF_THREADS: 16
JRUBY_OPTIONS: "-J-Xmx32g" # overwrite for development
LOG_LEVEL: "info"
logging: *default-logging
restart: always
labels:
- "logging=true"
elasticsearch:
image: semtech/mu-search-elastic-backend:1.1.0
environment:
discovery.type: "single-node"
volumes:
- ./data/elasticsearch/:/usr/share/elasticsearch/data
logging: *default-logging
restart: always
tika:
image: apache/tika:1.24-full
logging: *default-logging
restart: always
labels:
- "logging=true"
delta-notifier:
image: semtech/mu-delta-notifier:0.3.1
volumes:
- ./config/delta:/config
logging: *default-logging
restart: always
labels:
- "logging=true"
cache-warmup:
image: kanselarij/cache-warmup-service:1.16.0
logging: *default-logging
restart: always
labels:
- "logging=true"
environment:
CONCEPT_BACKEND_URL: "http://forever-cache/"
cache:
image: semtech/mu-cache:2.0.1
links:
- resource:backend
logging: *default-logging
restart: always
labels:
- "logging=true"
forever-cache:
image: semtech/mu-cache:2.0.1
links:
- resource:backend
logging: *default-logging
restart: always
labels:
- "logging=true"
resource:
image: semtech/mu-cl-resources:1.25.0
environment:
CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys"
LISP_DYNAMIC_SPACE_SIZE: "1024" # 1GB by default, increase to 8GB on systems with a lot of data
volumes:
- ./config/resources:/config
logging: *extended-logging
restart: always
labels:
- "logging=true"
file:
image: semtech/mu-file-service:3.3.0
environment:
FILE_RESOURCE_BASE: "http://themis.vlaanderen.be/id/bestand/"
volumes:
- ./data/files:/share
logging: *default-logging
restart: always
labels:
- "logging=true"
static-file:
image: semtech/static-file-service:0.2.0
volumes:
- ./data/static-files:/data
agenda-comparison:
image: kanselarij/agenda-comparison-service:3.2.0
logging: *default-logging
restart: always
labels:
- "logging=true"
agenda-approve:
image: kanselarij/agenda-approve-service:5.11.2
logging: *default-logging
restart: always
labels:
- "logging=true"
mocklogin:
image: kanselarij/mock-login-service:2.2.0
logging: *default-logging
labels:
- "logging=true"
login:
image: kanselarij/acmidm-login-service:2.4.1
environment:
MU_APPLICATION_AUTH_DISCOVERY_URL: "https://authenticatie-ti.vlaanderen.be/op"
MU_APPLICATION_AUTH_CLIENT_ID: "b1c78c1e-3c88-44f4-90fa-bebc5c5dc28d"
MU_APPLICATION_AUTH_REDIRECT_URI: "https://kaleidos-dev.vlaanderen.be/authorization/callback"
MU_APPLICATION_AUTH_CLIENT_SECRET: "THIS IS OUR SECRET"
DEBUG_LOG_TOKENSETS: "true"
LOG_SINK_URL: "http://sink"
logging: *default-logging
restart: always
labels:
- "logging=true"
newsletter:
image: kanselarij/newsletter-service:4.0.2
volumes:
- ./data/generated-xmls:/data
logging: *default-logging
restart: always
labels:
- "logging=true"
yggdrasil:
image: kanselarij/yggdrasil:5.23.0
logging: *default-logging
restart: always
labels:
- "logging=true"
sink:
image: lblod/sink-service:1.0.0
logging: *default-logging
restart: always
labels:
- "logging=true"
file-bundling:
image: kanselarij/file-bundling-service:3.0.0
environment:
MU_APPLICATION_FILE_STORAGE_PATH: "generated-archives/"
volumes:
- ./data/files:/share
logging: *default-logging
restart: always
labels:
- "logging=true"
file-bundling-job-creation:
image: kanselarij/file-bundling-job-creation-service:0.6.2
logging: *default-logging
restart: always
labels:
- "logging=true"
docx-conversion:
image: kanselarij/docx-conversion-service:2.2.0
volumes:
- ./data/files:/share
logging: *default-logging
restart: always
labels:
- "logging=true"
database-healthcheck:
image: kanselarij/database-healthcheck:1.0.2
logging: *default-logging
restart: always
labels:
- "logging=true"
case-documents-sync:
image: kanselarij/case-documents-sync-service:2.0.0
logging: *default-logging
restart: always
environment:
MAX_BODY_SIZE: "500kb"
labels:
- "logging=true"
gov-field-sync:
image: kanselarij/gov-field-sync-service:0.3.0
logging: *default-logging
restart: always
labels:
- "logging=true"
document-versions:
image: kanselarij/document-versions-service:0.4.0
logging: *default-logging
restart: always
labels:
- "logging=true"
document-release:
image: kanselarij/document-release-service:1.0.1
logging: *default-logging
restart: always
labels:
- "logging=true"
mail-delivery:
image: redpencil/deliver-email-service:0.3.3
environment:
MAILBOX_URI: "http://themis.vlaanderen.be/id/mailboxes/e8364a49-2696-48cc-aef1-e1e396a0cd34"
WELL_KNOWN_SERVICE: "test"
EMAIL_ADDRESS: "[email protected]"
EMAIL_CRON_PATTERN: "*/5 * * * *"
EMAIL_PROTOCOL: "MS_Graph_API"
MS_GRAPH_API_CLIENT_ID: "51148b88-fd95-43ea-aefc-442af419f11e"
MS_GRAPH_API_TENANT_ID: "0c0338a6-9561-4ee8-b8d6-4e89cbd520a0"
MS_GRAPH_API_CLIENT_SECRET: "OUR SECRET"
volumes:
- ./data/files:/share
logging: *default-logging
restart: always
labels:
- "logging=true"
lod-sbmb:
# Trigger needs to be configured in server cron
# cd /data/app-kaleidos && /usr/local/bin/docker-compose run lod-sbmb -g -s $(date +\%Y) -e $(date +\%Y) -n decreet -f decret -t DECREE -o /data -c /data/cache -w 10 && mv ./data/staatsblad/decreet* ./data/staatsblad/nl && mv ./data/staatsblad/decret* ./data/staatsblad/fr
# cd /data/app-kaleidos && /usr/local/bin/docker-compose run lod-sbmb -g -s $(date +\%Y) -e $(date +\%Y) -n besluit -f arrete -t DECISION -o /data -c /data/cache -w 10 && mv ./data/staatsblad/besluit* ./data/staatsblad/nl && mv ./data/staatsblad/arrete* ./data/staatsblad/fr
image: kanselarij/lod-sbmb:1.11.0
volumes:
- ./data/staatsblad:/data
restart: "no" # restart disabled on purpose. Service is triggered by server cron and should not always run
logging: *default-logging
staatsblad-scraping:
image: kanselarij/staatsblad-scraping-service:0.0.2
environment:
CRON_PATTERN: "20 */7 * * *"
logging: *default-logging
restart: always
labels:
- "logging=true"
staatsblad-import:
image: kanselarij/ttl-import-service:0.2.0
volumes:
- ./data/staatsblad/nl:/data/imports
environment:
GRAPH: "http://mu.semte.ch/graphs/staatsblad"
logging: *default-logging
restart: always
labels:
- "logging=true"
staatsblad-uuid-generation:
image: kanselarij/uuid-generation-service:0.1.0
environment:
RDF_TYPE: "http://data.europa.eu/eli/ontology#LegalResource"
GRAPH: "http://mu.semte.ch/graphs/staatsblad"
logging: *default-logging
restart: always
labels:
- "logging=true"
staatsblad-linking:
image: kanselarij/staatsblad-linking-service:0.6.0
logging: *default-logging
restart: always
labels:
- "logging=true"
publication-report:
image: kanselarij/publication-report-service:0.5.0
volumes:
- ./data/files:/share
environment:
MU_SPARQL_ENDPOINT: "http://database:8890/sparql"
VIRTUOSO_SPARQL_ENDPOINT: "http://triplestore:8890/sparql"
logging: *default-logging
restart: always
labels:
- "logging=true"
decision-extraction:
image: kanselarij/decision-extraction-service:0.0.8
logging: *default-logging
restart: always
labels:
- "logging=true"
volumes:
- ./data/files:/share
delta-producer:
image: lblod/delta-producer-json-diff-file-publisher:0.5.0
environment:
PUBLISHER_URI: "http://delta-producer-json-diff-file-publisher.services.semantic.works/me"
PRETTY_PRINT_DIFF_JSON: "true"
FILES_GRAPH: "http://mu.semte.ch/graphs/delta-files"
KEY: "secret-sync-key"
volumes:
- ./data/files:/share
fileshare:
image: redpencil/file-share-sync:0.0.4
volumes:
- ./data/files:/share
environment:
ALLOW_SUPER_CONSUMER: "true"
impersonation:
image: kanselarij/impersonation-service:0.2.0
logging: *default-logging
restart: always
labels:
- "logging=true"
decision-report-generation:
image: kanselarij/decision-report-generation-service:2.0.0
environment:
TZ: "Europe/Brussels"
logging: *default-logging
restart: always
labels:
- "logging=true"
volumes:
- ./data/files:/share
shortlist:
image: kanselarij/shortlist-service:0.1.5
logging: *default-logging
restart: always
labels:
- "logging=true"
minutes-report-generation:
image: kanselarij/minutes-report-generation-service:1.0.0
volumes:
- ./data/files:/share
digital-signing:
image: kanselarij/digital-signing-service:2.1.6
volumes:
- ./data/files:/share
restart: always
signflow-status-sync:
image: kanselarij/signflow-status-sync-service:0.0.4
restart: always
#themis
public-file:
image: kanselarij/public-file-service:4.3.0
environment:
MU_SPARQL_ENDPOINT: "http://triplestore:8890/sparql"
MU_APPLICATION_GRAPH: "http://mu.semte.ch/graphs/organizations/kanselarij"
volumes:
- ./data/files:/share
labels:
- "logging=true"
restart: always
logging: *default-logging
themis-export:
image: kanselarij/themis-export-service:3.2.1
environment:
MU_SPARQL_ENDPOINT: "http://database:8890/sparql" # database for results for which delta's must be generated
VIRTUOSO_SPARQL_ENDPOINT: "http://triplestore:8890/sparql" # database for intermediate results and to export data from
volumes:
- ./data/exports:/share
labels:
- "logging=true"
restart: always
logging: *default-logging
ttl-to-delta:
image: redpencil/ttl-to-delta:1.0.1
environment:
TASK_GRAPH: "http://mu.semte.ch/graphs/themis-public"
FILE_GRAPH: "http://mu.semte.ch/graphs/themis-public"
volumes:
- ./data/exports:/share
labels:
- "logging=true"
restart: always
logging: *default-logging
publication-producer:
image: kanselarij/themis-publication-producer:1.1.2
labels:
- "logging=true"
restart: always
logging: *default-logging
export-file:
image: kanselarij/public-file-service:4.3.2
environment:
SKIP_CONFIDENTIALITY: "true"
SPECIFIED_GRAPH: "http://mu.semte.ch/graphs/themis-public"
volumes:
- ./data/exports:/share
labels:
- "logging=true"
restart: always
logging: *default-logging
html-to-pdf:
image: kanselarij/html-to-pdf-service:0.0.1
labels:
- "logging=true"
restart: always
logging: *default-logging
pdf-flattener:
image: kanselarij/pdf-flattener-service:0.0.2
volumes:
- ./data/files:/share
environment:
MU_APPLICATION_FILE_STORAGE_PATH: 'flattened-pdfs'
labels:
- "logging=true"
restart: always
logging: *default-logging
pdf-signature-remover:
image: kanselarij/pdf-signature-remover:0.1.1
volumes:
- ./data/files:/share
environment:
MU_APPLICATION_FILE_STORAGE_PATH: 'signature-removed-pdfs'
labels:
- "logging=true"
restart: always
logging: *default-logging
vlaams-parlement-sync:
image: kanselarij/vlaams-parlement-sync-service:0.7.4
volumes:
- ./data/files:/share
- ./data/debug:/debug
environment:
- ENABLE_SENDING_TO_VP_API=true
- ENABLE_DEBUG_FILE_WRITING=false
labels:
- "logging=true"
restart: always
logging: *extended-logging
agenda-submission:
image: kanselarij/agenda-submission-service:1.6.1
labels:
- "logging=true"
restart: always
logging: *default-logging
document-naming:
image: kanselarij/document-naming-service:1.3.2
labels:
- logging=true
restart: always
logging: *default-logging
document-stamping:
image: kanselarij/document-stamping-service:1.2.0
volumes:
- ./data/files:/share
environment:
MU_APPLICATION_FILE_STORAGE_PATH: 'stamped-pdfs'
restart: always
logging: *default-logging
draft-file:
image: kanselarij/draft-file-service:0.0.1
environment:
FILE_RESOURCE_BASE: "http://themis.vlaanderen.be/id/voorlopig-bestand/"
volumes:
- ./data/files:/share
logging: *default-logging
restart: always
labels:
- "logging=true"
draft-file-mover:
image: kanselarij/draft-file-mover-service:0.0.1
volumes:
- ./data/files:/share
logging: *default-logging
restart: always
labels:
- "logging=true"