summaryrefslogtreecommitdiffstats
path: root/src/main/resources/docker-compose
diff options
context:
space:
mode:
authorsu622b <sunil.unnava@att.com>2018-03-22 17:39:23 -0400
committersu622b <sunil.unnava@att.com>2018-03-22 17:40:50 -0400
commit6c881fc1fbc617c368f17044419e4fc0ae59c5e7 (patch)
tree4ac6ff4b59111dc56f441823f5aa575da4f8bdfa /src/main/resources/docker-compose
parent4eb8f3f52093960a6a62c6c07409e8d26fd5f276 (diff)
changes for docker deployment
Issue-ID: DMAAP-338 Change-Id: I328cd941e493fa151383b12e008a1d220a242345 Signed-off-by: su622b <sunil.unnava@att.com>
Diffstat (limited to 'src/main/resources/docker-compose')
-rw-r--r--src/main/resources/docker-compose/docker-compose.yml23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/main/resources/docker-compose/docker-compose.yml b/src/main/resources/docker-compose/docker-compose.yml
index b10d8c0..df70f25 100644
--- a/src/main/resources/docker-compose/docker-compose.yml
+++ b/src/main/resources/docker-compose/docker-compose.yml
@@ -4,6 +4,13 @@ services:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
+ volumes:
+ - ./data-zookeeper:/opt/zookeeper-3.4.9/data
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
kafka:
build: .
ports:
@@ -11,14 +18,19 @@ services:
environment:
KAFKA_ADVERTISED_HOST_NAME: 172.18.0.1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
-
volumes:
- /var/run/docker.sock:/var/run/docker.sock
+ - ./data-kafka:/kafka
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
depends_on:
- zookeeper
dmaap:
- image: attos/dmaap
+ image: onap/dmaap/dmaap-mr
ports:
- "3904:3904"
- "3905:3905"
@@ -26,4 +38,9 @@ services:
- /var/tmp/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
depends_on:
- zookeeper
- - kafka
+ - kafka
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"