generated from mu-semtech/mu-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
167 lines (152 loc) · 4.87 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
version: "3.7"
x-logging: &default-logging
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
services:
frontend:
image: lblod/frontend-subsidiedatabank:0.7.1
volumes:
- ./config/frontend:/config
links:
- identifier:backend
labels:
- "logging=true"
restart: always
logging: *default-logging
identifier:
image: semtech/mu-identifier:1.10.1
labels:
- "logging=true"
restart: always
logging: *default-logging
dispatcher:
image: semtech/mu-dispatcher:2.1.0-beta.2
volumes:
- ./config/dispatcher:/config
labels:
- "logging=true"
restart: always
logging: *default-logging
database:
image: semtech/mu-authorization:0.6.0-beta.8
environment:
MU_SPARQL_ENDPOINT: "http://virtuoso:8890/sparql"
volumes:
- ./config/authorization:/config
labels:
- "logging=true"
restart: always
logging: *default-logging
virtuoso:
image: redpencil/virtuoso:1.2.0-rc.1
environment:
SPARQL_UPDATE: "true"
DEFAULT_GRAPH: "http://mu.semte.ch/graphs/public"
volumes:
- ./data/db:/data
- ./config/virtuoso/virtuoso.ini:/data/virtuoso.ini
- ./config/virtuoso/:/opt/virtuoso-scripts
labels:
- "logging=true"
restart: always
logging: *default-logging
migrations:
image: semtech/mu-migrations-service:0.9.0
links:
- virtuoso:database
volumes:
- ./config/migrations:/data/migrations
restart: always
labels:
- "logging=true"
cache:
image: semtech/mu-cache:2.0.2
links:
- resource:backend
restart: always
labels:
- "logging=true"
logging: *default-logging
resource:
image: semtech/mu-cl-resources:1.22.2
environment:
CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys"
volumes:
- ./config/resources:/config
restart: always
labels:
- "logging=true"
logging: *default-logging
form-data-management:
image: lblod/form-data-management-service:0.3.0
volumes:
- ./config/search-query:/share/search-query
- ./data/files/form-data-meta/:/data/
labels:
- "logging=true"
restart: always
logging: *default-logging
################################################################################
# LOKET SUBSIDIE CONSUMER
################################################################################
subsidies-consumer:
image: lblod/delta-consumer:0.0.21
environment:
DCR_SERVICE_NAME: "subsidies-consumer"
DCR_SYNC_BASE_URL: "https://loket.lblod.info" # replace with link to Loket API
DCR_SYNC_FILES_PATH: "/sync/subsidies/files"
DCR_SYNC_DATASET_SUBJECT: "http://data.lblod.info/datasets/delta-producer/dumps/SubsidiesCacheGraphDump"
DCR_INITIAL_SYNC_JOB_OPERATION: "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/consumer/initialSync/subsidies"
DCR_DELTA_SYNC_JOB_OPERATION: "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/consumer/deltaSync/subsidies"
DCR_JOB_CREATOR_URI: "http://data.lblod.info/services/id/subsidies-consumer"
DCR_DISABLE_INITIAL_SYNC: "true"
DCR_KEEP_DELTA_FILES: "true"
DCR_DELTA_FILE_FOLDER: "/consumer-files"
DCR_SYNC_LOGIN_ENDPOINT: "https://loket.lblod.info/sync/subsidies/login"
INGEST_GRAPH: "http://mu.semte.ch/graphs/organizations/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/SubsidiedatabankGebruiker"
volumes:
- ./data/files/consumer-files/subsidies:/consumer-files/
- ./config/subsidies-consumer/subsidy-attachments-dispatching:/config/triples-dispatching/custom-dispatching
- ./data/files:/share
restart: always
labels:
- "logging=true"
################################################################################
# SUBSIDIE FORMS
################################################################################
subsidy-applications-management:
image: lblod/subsidy-applications-management-service:0.11.0
environment:
# “At every 15th minute past every hour from 8 through 18 on every day-of-week from Monday through Friday.”
META_DATA_CRON: "0 */15 8-18 * * 1-5"
MAX_BODY_SIZE: "10000kb"
volumes:
- ./config/subsidy-application-management:/config
- ./data/files/subsidies:/data
- ./data/files:/share
labels:
- "logging=true"
restart: always
logging: *default-logging
subsidy-application-flow-management:
image: lblod/subsidy-application-flow-management-service:0.3.0
labels:
- "logging=true"
restart: always
logging: *default-logging
file:
image: semtech/mu-file-service:3.3.2
volumes:
- ./data/files:/share
labels:
- "logging=true"
restart: always
logging: *default-logging
db-cleanup:
image: lblod/db-cleanup-service:0.5.1
labels:
- "logging=true"
restart: always
logging: *default-logging