Add a docker-compose.yml for locally testing verspaetung
This commit is contained in:
parent
9af40ccdec
commit
68ce9cd72e
|
@ -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
|
Loading…
Reference in New Issue