1 # ============LICENSE_START=======================================================
3 # ================================================================================
4 # Copyright (C) 2020 Wipro Limited.
5 # ==============================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
21 slice-analysis-ms-default:
24 com.docker.network.driver.mtu: 1400
27 image: wurstmeister/zookeeper
28 container_name: zookeeper
32 - slice-analysis-ms-default
34 image: wurstmeister/kafka
39 KAFKA_ADVERTISED_HOST_NAME: "kafka"
40 KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
41 KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
42 KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092"
44 - /var/run/docker.sock:/var/run/docker.sock
48 - slice-analysis-ms-default
50 image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.8
56 - ./config/dmaap/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
61 - slice-analysis-ms-default
63 image: 'postgres:12-alpine'
64 container_name: slice-analysis-ms-postgres
67 - POSTGRES_USER=sliceanalysisms_admin
68 - POSTGRES_PASSWORD=postgres
69 - POSTGRES_DB=sliceanalysisms
73 test: ["CMD", "nc", "-z", "localhost", "5432"]
78 - slice-analysis-ms-default
80 image: "nexus3.onap.org:10003/onap/org.onap.dcaegen2.services.components.slice-analysis-ms:latest"
81 container_name: sliceanalysisms
82 hostname: sliceanalysisms
85 - CONFIG_FILE=/etc/config_all.json
89 - ./config/sliceanalysisms/config_all.json:/etc/config_all.json
93 - slice-analysis-ms-default