-
-
Save IssacTran/feb018c2e4c3c55a4f0ee8ecbc81fa06 to your computer and use it in GitHub Desktop.
docker - zookeeper, kafka, kafka-manager
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zookeeper: | |
image: wurstmeister/zookeeper | |
ports: | |
- "32772:2181" | |
kafka: | |
image: wurstmeister/kafka:latest | |
ports: | |
- "9092" | |
links: | |
- zookeeper:zk | |
environment: | |
KAFKA_ADVERTISED_HOST_NAME: 192.168.99.100 | |
KAFKA_CREATE_TOPICS: "model:1:1,route:1:1,track:1:1,identify:1:1" | |
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true' | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
kafka-manager: | |
image: sheepkiller/kafka-manager | |
ports: | |
- "9000:9000" | |
links: | |
- zookeeper:zk | |
environment: | |
ZK_HOSTS: zk:2181 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment