aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-client-simulator
diff options
context:
space:
mode:
authorkjaniak <kornel.janiak@nokia.com>2018-06-01 14:26:28 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-08-01 09:02:59 +0200
commit250c2e367acb3958616d277fc30ceb69b30d3647 (patch)
treef17c4570aa1ce3dff0b8e8b95cfdcb1b51da4109 /hv-collector-client-simulator
parent4b8cfb3e5bafc0cb078e37f64d0f21e8dfb0916a (diff)
Docker compose for kafka and zookeeper
Change-Id: I40622783a49b6ab24e0761229f6f875b3ce05813 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Issue-ID: DCAEGEN2-601
Diffstat (limited to 'hv-collector-client-simulator')
-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