Skip to content

Instantly share code, notes, and snippets.

@jmacqueen
Created September 22, 2016 01:56
Show Gist options
  • Save jmacqueen/0f9c3c226543364b34f6a63f3e182ad4 to your computer and use it in GitHub Desktop.
Save jmacqueen/0f9c3c226543364b34f6a63f3e182ad4 to your computer and use it in GitHub Desktop.
Basic docker-compose.yml for playing with Kafka
zookeeper:
image: wurstmeister/zookeeper:3.4.6
ports:
- "2181:2181"
kafka:
image: ches/kafka:0.9.0.1
ports:
- "9092:9092"
links:
- zookeeper
volumes:
- /var/run/docker.sock:/var/run/docker.sock
kafkacat:
image: ryane/kafkacat
entrypoint:
- kafkacat
- -b kafka.local
links:
- kafka:kafka.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment