Created
July 28, 2017 08:37
-
-
Save oivoodoo/4dfc31c48ae51a9675612811aab967ea to your computer and use it in GitHub Desktop.
kafka and zookeeper using docker-compose
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
| version: "3" | |
| services: | |
| zookeeper: | |
| image: confluent/zookeeper | |
| ports: | |
| - "2181:2181" | |
| environment: | |
| zk_id: "1" | |
| networks: | |
| - back-tier | |
| kafka: | |
| image: confluent/kafka | |
| depends_on: | |
| - zookeeper | |
| ports: | |
| - "9092:9092" | |
| environment: | |
| KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181" | |
| networks: | |
| - back-tier | |
| networks: | |
| back-tier: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment