Last active
May 19, 2017 10:53
-
-
Save autodidacticon/d0394d36f26b7b435369 to your computer and use it in GitHub Desktop.
docker - zookeeper, kafka, kafka-manager
This file contains 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
nice!!