forked from weiboad/kafka-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (46 loc) · 1.08 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
version: '3.2'
services:
zookeeper:
image: zookeeper:3.4
kafka-0.9.0.1:
image: wurstmeister/kafka:0.9.0.1
depends_on:
- zookeeper
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_HOST_NAME: kafka-0.9.0.1
KAFKA_ADVERTISED_PORT: 9092
ports:
- "9092"
kafka-0.10.2.1:
image: wurstmeister/kafka:0.10.2.1
depends_on:
- zookeeper
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_HOST_NAME: kafka-0.10.2.1
KAFKA_ADVERTISED_PORT: 9092
ports:
- "9092"
kafka-0.11.0.1:
image: wurstmeister/kafka:0.11.0.1
depends_on:
- zookeeper
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_HOST_NAME: kafka-0.11.0.1
ports:
- "9092"
kafka-1.0.0:
image: wurstmeister/kafka:1.0.0
depends_on:
- zookeeper
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_HOST_NAME: kafka-1.0.0
ports:
- "9092"
test-runner:
build: .
volumes:
- .:/opt/kafka-php