Add docker-compose.yml for local testing/development
This commit is contained in:
parent
fd77e66b8a
commit
f2075cccb2
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
kafka:
|
||||||
|
image: wurstmeister/kafka
|
||||||
|
ports:
|
||||||
|
- "9092:9092"
|
||||||
|
environment:
|
||||||
|
KAFKA_ADVERTISED_HOST_NAME: localhost
|
||||||
|
KAFKA_CREATE_TOPICS: "test:1:1"
|
||||||
|
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
|
||||||
|
|
||||||
|
zookeeper:
|
||||||
|
image: wurstmeister/zookeeper
|
||||||
|
ports:
|
||||||
|
- "2181:2181"
|
Loading…
Reference in New Issue