-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
197 lines (196 loc) · 5.48 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
version: '2.4'
services:
rabbitmq:
image: rabbitmq:3.7.23-management
ports:
- 5672:5672
- 15672:15672
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_USERNAME}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_PASSWORD}
healthcheck:
timeout: 5s
interval: 3s
retries: 30
test: ["CMD", "rabbitmqctl", "status"]
volumes:
- rabbitmqdata:/var/lib/rabbitmq/
es:
image: elasticsearch:7.3.2
ports:
- 9200:9200
volumes:
- esdata01:/usr/share/elasticsearch/data
- eslog:/var/log/elasticsearch/
environment:
- ES_JAVA_OPTS=${ELASTICSEARCH_JAVA_OPTS}
- discovery.type=single-node
- bootstrap.memory_lock=true
ulimits:
memlock:
soft: -1
hard: -1
kibana:
image: kibana:7.3.2
environment:
- ELASTICSEARCH_HOSTS=http://es:9200
ports:
- 5601:5601
depends_on:
- es
logstash:
image: logstash:7.3.2
volumes:
- ./logstash_AMQP.conf:/config-dir/logstash.conf
environment:
- RABBITMQ_USERNAME=${RABBITMQ_USERNAME}
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
- XPACK_MONITORING_ENABLED=false
- XPACK_MONITORING_ELASTICSEARCH_HOSTS=""
ports:
- 5000
command: logstash -f /config-dir/logstash.conf
depends_on:
- rabbitmq
- es
discovery-server:
build: discovery-server
ports:
- 8761:8761
config-server:
build: config-server
ports:
- 8888:8888
environment:
- CONFIG_REPO=https://github.com/projekt-opal/converter-configuration.git
- CONFIG_REPO_DEFAULT_BRANCH=master
- EUREKA_URL=http://discovery-server:8761/eureka/
dataset-fetcher:
build: dataset-fetcher
ports:
- 8001:8001
volumes:
- h2data:/db
environment:
- RABBITMQ_ADDRESS=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USERNAME=${RABBITMQ_USERNAME}
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
- CRAWLER_TRIPLESTORE_URL=${CRAWLER_TRIPLESTORE_URL}
- CRAWLER_TRIPLESTORE_USERNAME=${CRAWLER_TRIPLESTORE_USERNAME}
- CRAWLER_TRIPLESTORE_PASSWORD=${CRAWLER_TRIPLESTORE_PASSWORD}
- EUREKA_URL=http://discovery-server:8761/eureka/
- CONFIG_SERVER_URL=http://config-server:8888
- H2_DB_PASSWORD=${H2_DB_PASSWORD}
- H2_DB_PATH=/db
depends_on:
- rabbitmq
- discovery-server
- config-server
dataset-file-fetcher:
build: dataset-file-fetcher
ports:
- 8007:8007
environment:
- RABBITMQ_ADDRESS=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USERNAME=${RABBITMQ_USERNAME}
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
- EUREKA_URL=http://discovery-server:8761/eureka/
- CONFIG_SERVER_URL=http://config-server:8888
- PORTAL=europeandataportal
- FOLDER_PATH=/data
depends_on:
- rabbitmq
- discovery-server
- config-server
volumes:
- ${DATASET_FOLDER}:/data
opal-confirm-conversion-service:
build: opal-confirm-conversion-service
ports:
- 8002
environment:
- RABBITMQ_ADDRESS=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USERNAME=${RABBITMQ_USERNAME}
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
- EUREKA_URL=http://discovery-server:8761/eureka/
- CONFIG_SERVER_URL=http://config-server:8888
depends_on:
- rabbitmq
- discovery-server
- config-server
data-cleaner-service:
build: data-cleaner-service
ports:
- 8006:8006
environment:
- RABBITMQ_ADDRESS=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USERNAME=${RABBITMQ_USERNAME}
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
- EUREKA_URL=http://discovery-server:8761/eureka/
- CONFIG_SERVER_URL=http://config-server:8888
depends_on:
- rabbitmq
- discovery-server
- config-server
quality-metrics-service:
build: quality-metrics-service
ports:
- 8003
environment:
- RABBITMQ_ADDRESS=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USERNAME=${RABBITMQ_USERNAME}
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
- EUREKA_URL=http://discovery-server:8761/eureka/
- CONFIG_SERVER_URL=http://config-server:8888
depends_on:
- rabbitmq
- discovery-server
- config-server
triplestore-writer:
build: triplestore-writer
ports:
- 8004
environment:
- RABBITMQ_ADDRESS=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USERNAME=${RABBITMQ_USERNAME}
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
- EUREKA_URL=http://discovery-server:8761/eureka/
- CONFIG_SERVER_URL=http://config-server:8888
- OPAL_TRIPLESTORE_URL=${OPAL_TRIPLESTORE_URL}
- OPAL_TRIPLESTORE_USERNAME=${OPAL_TRIPLESTORE_USERNAME}
- OPAL_TRIPLESTORE_PASSWORD=${OPAL_TRIPLESTORE_PASSWORD}
- MIN_CONCURRENCY_WRITER=3
- MAX_CONCURRENCY_WRITER=3
depends_on:
- rabbitmq
- discovery-server
- config-server
elasticsearch-writer:
build: elasticsearch-writer
ports:
- 8005
environment:
- RABBITMQ_ADDRESS=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USERNAME=${RABBITMQ_USERNAME}
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
- EUREKA_URL=http://discovery-server:8761/eureka/
- CONFIG_SERVER_URL=http://config-server:8888
- OPAL_ELASTICSEARCH_URL=opaldata.cs.upb.de
- OPAL_ELASTICSEARCH_PORT=9200
- ES_INDEX=${ES_INDEX}
depends_on:
- rabbitmq
- discovery-server
- config-server
volumes:
rabbitmqdata:
esdata01:
eslog:
h2data: