summaryrefslogtreecommitdiffstats
path: root/src/main/resources/docker-compose/docker-compose.yml
blob: aece06709c8d9f92a4a032b0c81c2d3904876dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '2'
services:
  zookeeper:
    image: wurstmeister/zookeeper
    ports:
      - "2181:2181"

  kafka:
   image: nexus3.onap.org:10001/onap/dmaap/kafka01101:0.0.1
   ports:
    - "9092:9092"
   environment:
    KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
    KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT
    KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka:9092
    KAFKA_LISTENERS: INTERNAL_PLAINTEXT://0.0.0.0:9092
    KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_PLAINTEXT
   volumes:
    - /var/run/docker.sock:/var/run/docker.sock
   depends_on:
    - zookeeper

  dmaap:
    image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.6
    ports:
      - "3904:3904"
      - "3905:3905"
    volumes:
      - /var/tmp/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
    depends_on:
      - zookeeper
      - kafka