aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-client-simulator/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'hv-collector-client-simulator/docker-compose.yml')
-rw-r--r--hv-collector-client-simulator/docker-compose.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/hv-collector-client-simulator/docker-compose.yml b/hv-collector-client-simulator/docker-compose.yml
new file mode 100644
index 00000000..e26478ff
--- /dev/null
+++ b/hv-collector-client-simulator/docker-compose.yml
@@ -0,0 +1,16 @@
+version: '2'
+services:
+ zookeeper:
+ image: wurstmeister/zookeeper
+ ports:
+ - "2181:2181"
+ kafka:
+ image: wurstmeister/kafka
+ ports:
+ - "9092:9092"
+ environment:
+ HOSTNAME_COMMAND: "route -n | awk '/UG[ \t]/{print $$2}'"
+ KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
+ KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock \ No newline at end of file