-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (49 loc) · 1.09 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
version: '3.1'
services:
repo:
image: repo
build: repo
depends_on:
- kafka
provoviz:
image: provoviz
build: provoviz
ports:
- 5000:5000
depends_on:
- kafka
zookeeper:
image: zookeeper:3.5.6
restart: always
ports:
- 2181:2181
kafka:
image: wurstmeister/kafka:2.12-2.3.1
depends_on:
- zookeeper
ports:
- "9092:9092"
environment:
KAFKA_LOG_DIRS: /kafka
KAFKA_BROKER_ID: 1
KAFKA_CREATE_TOPICS: trades:1:1,counterparties:1:1,risk:1:1,prov:1:1
HOSTNAME_COMMAND: "/sbin/ip route | awk '{ print $$3 }' | cut -f2 -d: | head -n1"
KAFKA_ADVERTISED_PORT: 9092
KAFKA_LOG_RETENTION_HOURS: "168"
KAFKA_LOG_RETENTION_BYTES: "100000000"
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
connect:
image: connect
build: connect
depends_on:
- kafka
ports:
- "8083:8083"
fuseki:
image: fuseki
build: fuseki
ports:
- 3030:3030
volumes:
- ./fuseki-volume-dcaf:/apache-jena-fuseki-4.2.0/dcaf