-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
60 lines (54 loc) · 1.2 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
version: '2'
services:
simple-kafka-mqtt-connector:
image: arthurgrigo/simple-kafka-mqtt-connector:0.1.0
restart: always
hostname: simple-kafka-mqtt-connector
container_name: simple-kafka-mqtt-connector
env_file:
- env.list
networks:
- kafka_mqtt_network
mosquitto:
image: eclipse-mosquitto:2.0.14
restart: always
hostname: mosquitto
container_name: mosquitto
ports:
- "1883:1883"
networks:
- kafka_mqtt_network
zookeeper:
image: wurstmeister/zookeeper
restart: always
hostname: zookeeper
container_name: zookeeper
ports:
- "2181:2181"
env_file:
- env.list
volumes:
- ./zookeeper/data:/data
- ./zookeeper/datalog:/datalog
networks:
- kafka_mqtt_network
kafka:
image: wurstmeister/kafka:2.13-2.8.1
restart: always
hostname: kafka
container_name: kafka
ports:
- "9092:9092"
env_file:
- env.list
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- kafka_mqtt_network
networks:
kafka_mqtt_network:
driver: bridge
ipam:
config:
- subnet: 192.168.115.0/24
gateway: 192.168.115.1