-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yml
62 lines (60 loc) · 1.35 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
version: "2"
# Excerpt from this complete docker-compose.yml => https://github.com/big-data-europe/pilot-sc6-cycle2/blob/master/docker-compose.yml
services:
sc6_zoo_1:
image: "sc6/zookeeper"
ports:
- 31200:31200
- 31201:31201
- 31202:31202
container_name: sc6_zoo_1
command: "bash -c /startup"
hostname: "sc6_zoo_1"
sc6_zoo_2:
image: "sc6/zookeeper"
ports:
- 31200:31200
- 31201:31201
- 31202:31202
container_name: sc6_zoo_2
command: "bash -c /startup"
hostname: "sc6_zoo_2"
sc6_zoo_3:
image: "sc6/zookeeper"
ports:
- 31200:31200
- 31201:31201
- 31202:31202
container_name: sc6_zoo_3
command: "bash -c /startup"
hostname: "sc6_zoo_3"
sc6-kafka-1:
image: "sc6/kafka"
depends_on:
- sc6_zoo_1
- sc6_zoo_2
- sc6_zoo_3
ports:
- 9092:9092
command: "bash -c /app/bin/kafka-init"
hostname: "sc6-kafka-1"
sc6-kafka-2:
image: "sc6/kafka"
depends_on:
- sc6_zoo_1
- sc6_zoo_2
- sc6_zoo_3
ports:
- 9092:9092
command: "bash -c /app/bin/kafka-init"
hostname: "sc6-kafka-2"
sc6-kafka-3:
image: "sc6/kafka"
depends_on:
- sc6_zoo_1
- sc6_zoo_2
- sc6_zoo_3
ports:
- 9092:9092
command: "bash -c /app/bin/kafka-init"
hostname: "sc6-kafka-3"