Add a docker-compose.yml for locally testing verspaetung

This commit is contained in:
R. Tyler Croy 2015-11-07 13:11:13 -08:00
parent 9af40ccdec
commit 68ce9cd72e
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 16 additions and 0 deletions

16
docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
zookeeper:
image: wurstmeister/zookeeper
ports:
- 2181:2181
kafka:
image: wurstmeister/kafka
ports:
- 9092:9092
links:
- zookeeper:zk
environment:
# Only using one node, so we're fine with localhost
KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1
volumes:
- /var/run/docker.sock:/var/run/docker.sock