-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
187 lines (187 loc) · 5.56 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
x-logging: &default-logging
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
services:
frontend:
image: ghcr.io/vlizbe/vocabserver-frontend:${BUILD_TAG}
restart: always
logging: *default-logging
identifier:
ports:
- 0.0.0.0:3033:80
image: semtech/mu-identifier:1.10.1
environment:
SESSION_COOKIE_SECURE: "on"
DEFAULT_ACCESS_CONTROL_ALLOW_ORIGIN_HEADER: "*"
links:
- dispatcher:dispatcher
restart: always
logging: *default-logging
dispatcher:
image: semtech/mu-dispatcher:2.1.0-beta.2
links:
- resource:resource
volumes:
- ./config/dispatcher:/config
restart: always
logging: *default-logging
delta-notifier:
image: semtech/mu-delta-notifier:0.4.0
volumes:
- ./config/delta:/config
restart: always
logging: *default-logging
database:
image: semtech/mu-authorization:0.6.0-beta.8
environment:
MU_SPARQL_ENDPOINT: "http://triplestore:8890/sparql"
volumes:
- ./config/authorization:/config
networks:
- default
- ldes-consumers
restart: always
logging: *default-logging
triplestore:
image: redpencil/virtuoso:1.2.0-rc.1
ports:
- 8890:8890
environment:
SPARQL_UPDATE: "true"
ENABLE_CORS: "*"
DEFAULT_GRAPH: "http://mu.semte.ch/application"
volumes:
- ./data/db:/data
- ./config/virtuoso/virtuoso.ini:/data/virtuoso.ini
restart: always
logging: *default-logging
migrations:
image: semtech/mu-migrations-service:0.8.0
links:
- triplestore:database
volumes:
- ./config/migrations:/data/migrations
restart: always
logging: *default-logging
file:
image: semtech/mu-file-service:3.2.0
environment:
FILE_RESOURCE_BASE: "http://example-resource.com/files/"
volumes:
- ./data/files:/share
restart: always
logging: *default-logging
resource:
image: semtech/mu-cl-resources:1.23.0
links:
- database:database
volumes:
- ./config/resources:/config
restart: always
logging: *default-logging
search:
image: semtech/mu-search:0.10.0-beta.5
volumes:
- ./config/search:/config
restart: always
logging: *default-logging
environment:
JAVA_OPTS: "-Xms1g -Xmx4g"
elasticsearch:
image: semtech/mu-search-elastic-backend:1.0.0
volumes:
- ./data/elasticsearch/:/usr/share/elasticsearch/data
ulimits:
nproc: 65536
nofile:
soft: 65535
hard: 65535
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms1g -Xmx4g"
- "cluster.routing.allocation.disk.watermark.low=96%"
- "cluster.routing.allocation.disk.watermark.high=97%"
- "cluster.routing.allocation.disk.watermark.flood_stage=98%"
restart: always
logging: *default-logging
job-controller:
image: lblod/job-controller-service:1.0.1
volumes:
- ./config/job-controller/:/config/
environment:
LOG_SPARQL_QUERIES: "true"
LOG_SPARQL_UPDATES: "true"
restart: always
logging: *default-logging
vocab-fetch:
build:
context: ./services/vocab-fetch
image: ${REG_NS:-vocabserver_app}/vocab-fetch:${BUILD_TAG}
volumes:
- ./data/vocab-fetch:/share
environment:
MU_VIRTUOSO_ENDPOINT: "http://triplestore:8890/sparql"
UPDATE_DATASET_DUMP_CRON_PATTERN: "5 * * * *" # hourly
# FIXME: always run in dev mode to circumvent memory limitations
MODE: "development"
restart: always
logging: *default-logging
content-unification:
build:
context: ./services/content-unification
image: ${REG_NS:-vocabserver_app}/content-unification:${BUILD_TAG:-latest}
volumes:
- ./data/vocab-fetch:/share
environment:
MU_SPARQL_ENDPOINT: "http://database:8890/sparql"
MU_SPARQL_UPDATEPOINT: "http://triplestore:8890/sparql"
MU_AUTH_ENDPOINT: "http://database:8890/sparql"
# FIXME: always run in dev mode to circumvent memory limitations
MODE: "development"
restart: always
logging: *default-logging
uuid-generation:
image: kanselarij/uuid-generation-service:1.0.0
volumes:
- ./config/uuid-generation/:/config
restart: always
logging: *default-logging
webcomponent:
image: ghcr.io/vlizbe/vocabserver-webcomponent:${BUILD_TAG:-latest}
ldes-consumer-manager:
# TODO: use image that has both fix-duplicate-start AND compose project support
image: redpencil/ldes-consumer-manager:feature-fix-duplicate-start
environment:
MU_NETWORK: ldes-consumers
CONSUMER_IMAGE: redpencil/ldes-consumer:feature-consumer-status
MODE: "${MODE:-production}"
COMPOSE_PROJECT: "vocabserver-app"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
restart: always
logging: *default-logging
vocab-configs:
build:
context: ./services/vocab-configs
image: ${REG_NS:-vocabserver_app}/vocab-configs:${BUILD_TAG:-latest}
environment:
MU_APPLICATION_FILE_STORAGE_PATH: "vocab-configs/"
MODE: "${MODE:-production}"
MU_SPARQL_ENDPOINT: "http://database:8890/sparql"
MU_SPARQL_DIRECT_UPDATEPOINT: "http://triplestore:8890/sparql"
MU_AUTH_ENDPOINT: "http://database:8890/sparql"
volumes:
- ./data/files:/share
yasgui:
# DEV purpose: debug built in triplestore
image: redpencil/yasgui:latest
environment:
DEFAULT_SPARQL_ENDPOINT: "http://docker-dev:8890/sparql"
# that should be in the setup script | same exposed port as graphdb
ports:
- 3034:80
networks:
ldes-consumers:
name: ldes-consumers