aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: 29fa3c457ec8866af5b55f05b73e959dd17dbf38 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3'

services:

  avcn-manager:
    image: nexus3.onap.org:10003/onap/avcn-manager:latest
    ports:
      - "9090:8080"
    restart: on-failure
    hostname: avcn-manager
    networks:
      - avcn_network
    environment:
      REST_CLIENT_VES_ENDPOINT: http://ves:8080/eventListener/v7
      KAFKA_BOOTSTRAP_SERVERS: avcn-kafka:9092
      KAFKA_SOURCE_TOPIC: config
      KAFKA_APPLICATION_ID: avcn-manager
      REST_CLIENT_VESCLIENT_ENDPOINT: http://ves-client:5000/simulator/start
    depends_on:
      - avcn-kafka

  avcn-zookeeper:
    image: wurstmeister/zookeeper
    ports:
      - "2181:2181"
    networks:
      - avcn_network

  avcn-kafka:
    image: wurstmeister/kafka:1.1.0
    ports:
      - "9092:9092"
    hostname: avcn-kafka
    networks:
      - avcn_network
    environment:
      KAFKA_ADVERTISED_PORT: 9092
      KAFKA_ADVERTISED_HOST_NAME: avcn-kafka
      KAFKA_ZOOKEEPER_CONNECT: avcn-zookeeper:2181
      KAFKA_CREATE_TOPICS: "config:1:1"
      KAFKA_DELETE_RETENTION_MS: 604800000
      KAFKA_LOG_CLEANER_DELETE_RETENTION_MS: 604800000
    depends_on:
      - avcn-zookeeper

networks:
  avcn_network:
    driver: bridge