aece06709c8d9f92a4a032b0c81c2d3904876dd5
[dmaap/messagerouter/messageservice.git] / src / main / resources / docker-compose / docker-compose.yml
1 version: '2'
2 services:
3   zookeeper:
4     image: wurstmeister/zookeeper
5     ports:
6       - "2181:2181"
7
8   kafka:
9    image: nexus3.onap.org:10001/onap/dmaap/kafka01101:0.0.1
10    ports:
11     - "9092:9092"
12    environment:
13     KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
14     KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT
15     KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka:9092
16     KAFKA_LISTENERS: INTERNAL_PLAINTEXT://0.0.0.0:9092
17     KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_PLAINTEXT
18    volumes:
19     - /var/run/docker.sock:/var/run/docker.sock
20    depends_on:
21     - zookeeper
22
23   dmaap:
24     image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.6
25     ports:
26       - "3904:3904"
27       - "3905:3905"
28     volumes:
29       - /var/tmp/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
30     depends_on:
31       - zookeeper
32       - kafka