1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/kafka-mqtt/docker-compose.yml
2019-05-02 07:11:16 +08:00

13 lines
320 B
YAML

kafka-mqtt:
image: confluentinc/cp-kafka-mqtt
ports:
- "1883:1883"
environment:
- KAFKA_MQTT_BOOTSTRAP_SERVERS=kafka1:9092,kafka2:9092,kafka3:9092
- KAFKA_MQTT_TOPIC_REGEX_LIST=temperature:.*
extra_hosts:
- kafka1:10.0.0.21
- kafka2:10.0.0.22
- kafka3:10.0.0.23
restart: unless-stopped