-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
89 lines (81 loc) · 2.04 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
version: '3'
services:
producer:
image: screamingudder/nexusproducer
network_mode: "host"
depends_on:
- kafka
- zookeeper
kafka:
image: wurstmeister/kafka:0.11.0.1
depends_on:
- zookeeper
hostname: kafka
restart: unless-stopped
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: localhost
KAFKA_ADVERTISED_PORT: 9092
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_MESSAGE_MAX_BYTES: 10000000
KAFKA_BROKER_ID: 0
volumes:
- /var/run/docker.sock:/var/run/docker.sock
zookeeper:
image: zookeeper:3.4
restart: unless-stopped
ports:
- '2181:2181'
manager:
image: sheepkiller/kafka-manager:alpine
depends_on:
- producer
- zookeeper
- kafka
ports:
- "9000:9000"
environment:
ZK_HOSTS: zookeeper:2181
ioc:
image: screamingudder/ess-chopper-sim-ioc
network_mode: "host"
depends_on:
- producer
- zookeeper
- kafka
restart: unless-stopped
environment:
FORWARDER_CONFIG_TOPIC: "TEST_forwarderConfig"
FORWARDER_OUTPUT_TOPIC: "TEST_sampleEnv"
event-processor:
image: screamingudder/event-sum-stream-processor:1.0
network_mode: "host"
depends_on:
- producer
- kafka
- zookeeper
environment:
KAFKA_BROKER: "localhost:9092"
ZOOKEEPER_NODE: "localhost:2181"
INPUT_TOPIC: "TEST_events"
OUTPUT_EVENT_SUM_TOPIC: "TEST_eventSum"
OUTPUT_EVENT_SUM_ACCUMULATED_TOPIC: "TEST_eventSumAccumulated"
OUTPUT_ACCUMULATED_IMAGES: "True"
# Default logging is user: admin, pass:admin
graylog:
image: swcc/docker-graylog2
ports:
- "9001:9000"
- "12201:12201"
file-writer:
image: screamingudder/kafka-to-nexus
depends_on:
- graylog
- kafka
network_mode: "host"
environment:
COMMAND_URI: "//localhost:9092/TEST_writerCommand"
STATUS_URI: "//localhost:9092/TEST_writerStatus"
KAFKA_BROKER: "localhost"
GRAYLOG_ADDRESS: "localhost:12201"