-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (68 loc) · 1.47 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
version: "3"
services:
zookeeper:
container_name: zookeeper
image: bitnami/zookeeper:3.6.2
networks:
- kafka-net
ports:
- "2181:2181"
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka-server1:
container_name: kafka-server1
image: bitnami/kafka:2.3.0
networks:
- kafka-net
ports:
- "9092:9092"
environment:
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka-server1:9092
- ALLOW_PLAINTEXT_LISTENER=yes
depends_on:
- zookeeper
influxdb:
container_name: influxdb
image: influxdb:1.7-alpine
networks:
- kafka-net
volumes:
- influxdb:/var/lib/influxdb
ports:
- "8086:8086"
environment:
- INFLUXDB_DB=db0
kafka-pixy:
container_name: kafka-pixy
image: yashmeh/kafka-pixy:1
networks:
- kafka-net
ports:
- "19091:19091"
- "19092:19092"
volumes:
- $PWD/kafka-pixy/kafka-pixy.yaml:/etc/kafka-pixy.yaml
restart: always
depends_on:
- zookeeper
- kafka-server1
- influxdb
- connector
command: --config /etc/kafka-pixy.yaml
connector:
container_name: connector
image: timberio/vector:nightly-alpine
networks:
- kafka-net
ports:
- "8383:8383"
volumes:
- $PWD/vector/vector.toml:/etc/vector/vector.toml:ro
depends_on:
- influxdb
- kafka-server1
networks:
kafka-net:
volumes:
influxdb: