-
Notifications
You must be signed in to change notification settings - Fork 4
/
fig-5zk.yml
165 lines (165 loc) · 2.78 KB
/
fig-5zk.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
syslog:
image: bryantsai/rsyslog
hostname: syslog
expose:
- "514/udp"
zookeeper1:
image: bryantsai/zookeeper
hostname: zookeeper1
command: 1 5
ports:
- "2181:2181"
- "2888:2888"
- "3888:3888"
links:
- syslog:syslog
environment:
DOCKER_HOST:
zookeeper2:
image: bryantsai/zookeeper
hostname: zookeeper2
command: 2 5
ports:
- "2182:2181"
- "2889:2889"
- "3889:3889"
links:
- syslog:syslog
environment:
DOCKER_HOST:
zookeeper3:
image: bryantsai/zookeeper
hostname: zookeeper3
command: 3 5
ports:
- "2183:2181"
- "2890:2890"
- "3890:3890"
links:
- syslog:syslog
environment:
DOCKER_HOST:
zookeeper4:
image: bryantsai/zookeeper
hostname: zookeeper4
command: 4 5
ports:
- "2184:2181"
- "2891:2891"
- "3891:3891"
links:
- syslog:syslog
environment:
DOCKER_HOST:
zookeeper5:
image: bryantsai/zookeeper
hostname: zookeeper5
command: 5 5
ports:
- "2185:2181"
- "2892:2892"
- "3892:3892"
links:
- syslog:syslog
environment:
DOCKER_HOST:
nimbus:
image: bryantsai/storm
hostname: nimbus
command: nimbus drpc
ports:
- "46627:6627"
expose:
- "3772"
- "3773"
links:
- zookeeper1:zk1
- zookeeper2:zk2
- zookeeper3:zk3
- zookeeper4:zk4
- zookeeper5:zk5
- syslog:syslog
environment:
ZK_INSTANCES: 5
supervisor:
image: bryantsai/storm
hostname: supervisor
command: supervisor logviewer
ports:
- "8000"
expose:
- "6700"
links:
- nimbus:nimbus
- zookeeper1:zk1
- zookeeper2:zk2
- zookeeper3:zk3
- zookeeper4:zk4
- zookeeper5:zk5
- syslog:syslog
environment:
ZK_INSTANCES: 5
ui:
image: bryantsai/storm
hostname: ui
command: ui
ports:
- "48080:8080"
links:
- nimbus:nimbus
- zookeeper1:zk1
- zookeeper2:zk2
- zookeeper3:zk3
- zookeeper4:zk4
- zookeeper5:zk5
- syslog:syslog
environment:
ZK_INSTANCES: 5
cli:
image: bryantsai/storm
hostname: cli
command: cli
links:
- nimbus:nimbus
- zookeeper1:zk1
- zookeeper2:zk2
- zookeeper3:zk3
- zookeeper4:zk4
- zookeeper5:zk5
- syslog:syslog
volumes:
- .:/code
working_dir: /code
environment:
ZK_INSTANCES: 5
kafka:
image: bryantsai/kafka
hostname: kafka
expose:
- "9092"
links:
- zookeeper1:zk1
- zookeeper2:zk2
- zookeeper3:zk3
- zookeeper4:zk4
- zookeeper5:zk5
- syslog:syslog
environment:
ZK_INSTANCES: 5
kafkacli:
image: bryantsai/kafka
hostname: kafkacli
command: cli
links:
- kafka:kafka
- zookeeper1:zk1
- zookeeper2:zk2
- zookeeper3:zk3
- zookeeper4:zk4
- zookeeper5:zk5
- syslog:syslog
volumes:
- .:/code
working_dir: /code
environment:
ZK_INSTANCES: 5