forked from kafkaex/kafka_ex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (36 loc) · 1004 Bytes
/
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
version: '2'
services:
zookeeper:
image: wurstmeister/zookeeper:3.4.6
ports:
- "2181:2181"
kafka1:
image: wurstmeister/kafka:0.9.0.1
ports:
- "9092:9092"
depends_on:
- zookeeper
volumes:
- ./kafka1/server.properties.in:/opt/kafka_2.11-0.9.0.1/config/server.properties.in
- ./scripts/docker-start-kafka.sh:/usr/bin/start-kafka.sh
- ./ssl:/ssl
kafka2:
image: wurstmeister/kafka:0.9.0.1
ports:
- "9093:9093"
depends_on:
- zookeeper
volumes:
- ./kafka2/server.properties.in:/opt/kafka_2.11-0.9.0.1/config/server.properties.in
- ./scripts/docker-start-kafka.sh:/usr/bin/start-kafka.sh
- ./ssl:/ssl
kafka3:
image: wurstmeister/kafka:0.9.0.1
ports:
- "9094:9094"
depends_on:
- zookeeper
volumes:
- ./kafka3/server.properties.in:/opt/kafka_2.11-0.9.0.1/config/server.properties.in
- ./scripts/docker-start-kafka.sh:/usr/bin/start-kafka.sh
- ./ssl:/ssl