-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
166 lines (166 loc) · 3.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
# https://endocode.com/blog/2015/04/22/building-a-stream-processing-pipeline-with-kafka-storm-and-cassandra-part-2-using-docker-containers/
version: '2'
services:
zk1:
container_name: zk1
hostname: zk1
image: endocode/zookeeper
ports:
- "2181:2181"
- "2888"
- "3888"
networks:
- storm
environment:
- ZK_ID=1
- ZK_SERVERS=server.1=zk1:2888:3888
kafka1:
container_name: kafka1
hostname: kafka1
image: endocode/kafka
ports:
- "9092:9092"
networks:
- storm
environment:
- KAFKA_HEAP_OPTS=-Xmx64M -Xms64M
- KAFKA_BROKER_ID=1
- KAFKA_ZOOKEEPER_CONNECT=zk1:2181
- KAFKA_ADVERTISED_PORT=9092
- KAFKA_ADVERTISED_HOST_NAME=kafka1
depends_on:
- zk1
kafka2:
container_name: kafka2
hostname: kafka2
image: endocode/kafka
ports:
- "9092"
networks:
- storm
environment:
- KAFKA_HEAP_OPTS=-Xmx64M -Xms64M
- KAFKA_BROKER_ID=2
- KAFKA_ZOOKEEPER_CONNECT=zk1:2181
- KAFKA_ADVERTISED_PORT=9092
- KAFKA_ADVERTISED_HOST_NAME=kafka2
depends_on:
- zk1
kafka3:
container_name: kafka3
hostname: kafka3
image: endocode/kafka
ports:
- "9092"
networks:
- storm
environment:
- KAFKA_HEAP_OPTS=-Xmx64M -Xms64M
- KAFKA_BROKER_ID=3
- KAFKA_ZOOKEEPER_CONNECT=zk1:2181
- KAFKA_ADVERTISED_PORT=9092
- KAFKA_ADVERTISED_HOST_NAME=kafka3
depends_on:
- zk1
nimbus:
container_name: nimbus
hostname: nimbus
image: wurstmeister/storm-nimbus
ports:
- "6627:6627"
- "3772"
- "3773"
- "3774"
networks:
- storm
environment:
- NIMBUS_PORT_6627_TCP_ADDR=nimbus
- ZK_PORT_2181_TCP_ADDR=zk1
volumes:
- /root/workspace:/root/workspace
depends_on:
- zk1
supervisor:
container_name: supervisor
hostname: supervisor
image: wurstmeister/storm-supervisor
ports:
- "6700:6700"
- "6701:6701"
- "6702:6702"
- "6703:6703"
- "8000:8000"
networks:
- storm
environment:
- NIMBUS_PORT_6627_TCP_ADDR=nimbus
- ZK_PORT_2181_TCP_ADDR=zk1
depends_on:
- zk1
- nimbus
ui:
container_name: ui
hostname: ui
image: wurstmeister/storm-ui
ports:
- "8080:8080"
networks:
- storm
environment:
- NIMBUS_PORT_6627_TCP_ADDR=nimbus
- ZK_PORT_2181_TCP_ADDR=zk1
depends_on:
- zk1
- nimbus
- supervisor
ses:
container_name: ses
hostname: ses
image: desp0916/elasticsearch:1.7.4
ports:
- "9200:9200"
- "9300:9300"
networks:
- storm
volumes:
- /root/docker/data/elasticsearch/1.7.4/config:/usr/share/elasticsearch/config
- /root/docker/data/elasticsearch/1.7.4:/usr/share/elasticsearch/data
ski:
container_name: ski
hostname: ski
image: kibana:4.1.4
ports:
- "5601:5601"
networks:
- storm
environment:
- ELASTICSEARCH_URL=http://ses:9200
depends_on:
- ses
hadoop:
container_name: hadoop
hostname: hadoop
image: sequenceiq/hadoop-docker
ports:
- "50010:50010"
- "50020:50020"
- "50070:50070"
- "50075:50075"
- "50090:50090"
- "8020:8020"
- "9000:9000"
- "19888:19888"
- "8030:8030"
- "8031:8031"
- "8032:8032"
- "8033:8033"
- "8040:8040"
- "8042:8042"
- "8088:8088"
- "49707:49707"
- "2122:2122"
networks:
- storm
networks:
storm:
external: true