summaryrefslogtreecommitdiffstats
path: root/src/main/resources/docker-compose/docker-compose-single-broker.yml
diff options
context:
space:
mode:
authorVarun Gudisena <vg411h@att.com>2017-08-31 10:56:56 -0500
committerVarun Gudisena <vg411h@att.com>2017-08-31 10:57:12 -0500
commitacc3ce02997219825091a2e4ed7fd493f2d440b2 (patch)
treede1db5979894f0dadd6752ae1841fdeb743a5830 /src/main/resources/docker-compose/docker-compose-single-broker.yml
parent3306e2f9cc17833d5816936e0ea2973d9013b00e (diff)
Revert package name changes
Reverted package name changes to avoid any potential issues. Renamed maven group id only. Issue-id: DMAAP-74 Change-Id: I4ca4537d48e5723b2939148e5bd83645ee20dd30 Signed-off-by: Varun Gudisena <vg411h@att.com>
Diffstat (limited to 'src/main/resources/docker-compose/docker-compose-single-broker.yml')
-rw-r--r--src/main/resources/docker-compose/docker-compose-single-broker.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/resources/docker-compose/docker-compose-single-broker.yml b/src/main/resources/docker-compose/docker-compose-single-broker.yml
new file mode 100644
index 0000000..4d8e9f5
--- /dev/null
+++ b/src/main/resources/docker-compose/docker-compose-single-broker.yml
@@ -0,0 +1,16 @@
+version: '2'
+services:
+ zookeeper:
+ image: wurstmeister/zookeeper
+ ports:
+ - "2181:2181"
+ kafka:
+ build: .
+ ports:
+ - "9092:9092"
+ environment:
+ KAFKA_ADVERTISED_HOST_NAME: 192.168.99.100
+ KAFKA_CREATE_TOPICS: "test:1:1"
+ KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock