summaryrefslogtreecommitdiffstats
path: root/src/main/resources/docker-compose/docker-compose.yml
diff options
context:
space:
mode:
authorMarcin Migdal <marcin.migdal@nokia.com>2018-04-13 11:49:26 +0200
committerMarcin Migdal <marcin.migdal@nokia.com>2018-04-17 11:15:50 +0200
commit89549bf2e0142eb3f676dd355fd321e18fe0dd9f (patch)
treebb4f5ac14ab26d043b8ab58b1088b70e0cfaffa0 /src/main/resources/docker-compose/docker-compose.yml
parent7cd58518e9dc263521f252c1095a43244e464222 (diff)
Proposal of new docker compose file
Issue-ID: DMAAP-366 Change-Id: I9a7cae61d2095ce9c030ad92e6e60630d36be9b6 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'src/main/resources/docker-compose/docker-compose.yml')
-rw-r--r--src/main/resources/docker-compose/docker-compose.yml26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/main/resources/docker-compose/docker-compose.yml b/src/main/resources/docker-compose/docker-compose.yml
index 74ae4eb..40f6bea 100644
--- a/src/main/resources/docker-compose/docker-compose.yml
+++ b/src/main/resources/docker-compose/docker-compose.yml
@@ -4,26 +4,26 @@ services:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
+
kafka:
- build: .
- ports:
- - "9092:9092"
- environment:
- KAFKA_ADVERTISED_HOST_NAME: 172.18.0.1
- KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+ image: wurstmeister/kafka:0.8.1.1-1
+ ports:
+ - "9092:9092"
+ environment:
+ HOSTNAME_COMMAND: "hostname -i"
+ KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ depends_on:
+ - zookeeper
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- depends_on:
- - zookeeper
-
dmaap:
image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr
ports:
- "3904:3904"
- "3905:3905"
volumes:
- - /var/tmp/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
+ - /var/tmp/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
depends_on:
- zookeeper
- - kafka
+ - kafka