1 # ============LICENSE_START=======================================================
3 # ================================================================================
4 # Copyright (C) 2020 Wipro Limited.
5 # Copyright (C) 2022 Huawei Canada Limited.
6 # ==============================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
22 slice-analysis-ms-default:
25 com.docker.network.driver.mtu: 1400
28 image: wurstmeister/zookeeper
29 container_name: zookeeper
33 - slice-analysis-ms-default
35 image: wurstmeister/kafka
40 KAFKA_ADVERTISED_HOST_NAME: "kafka"
41 KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
42 KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
43 KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092"
45 - /var/run/docker.sock:/var/run/docker.sock
49 - slice-analysis-ms-default
51 image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.8
58 - ./config/dmaap/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
63 - slice-analysis-ms-default
65 image: 'postgres:12-alpine'
66 container_name: slice-analysis-ms-postgres
69 - POSTGRES_USER=sliceanalysisms_admin
70 - POSTGRES_PASSWORD=postgres
71 - POSTGRES_DB=sliceanalysisms
75 test: ["CMD", "nc", "-z", "localhost", "5432"]
80 - slice-analysis-ms-default
82 image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.11.0'
83 container_name: vescollector
84 hostname: vescollector
88 - ./config/vescollector/etc:/etc
89 - ./config/vescollector/app-config:/app-config
90 - ./config/vescollector/dcae-certificate:/opt/app/dcae-certificate
94 - slice-analysis-ms-default
96 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.components.slice-analysis-ms:latest
97 container_name: sliceanalysisms
98 hostname: sliceanalysisms
101 - CONFIG_FILE=/etc/config_all.json
105 - ./config/sliceanalysisms/config_all.json:/etc/config_all.json
109 - slice-analysis-ms-default