2 # ============LICENSE_START=======================================================
3 # csit-dcaegen2-collectors-hv-ves
4 # ================================================================================
5 # Copyright (C) 2018-2019 NOKIA
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=========================================================
24 name: $CONTAINERS_NETWORK
29 # DMaaP Message Router
33 image: wurstmeister/zookeeper
40 image: wurstmeister/kafka
44 KAFKA_ADVERTISED_HOST_NAME: "kafka"
45 KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
46 KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
47 KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092"
49 - /var/run/docker.sock:/var/run/docker.sock
60 image: docker.io/consul:1.0.6
64 - ./consul/:/consul/config
68 config-binding-service:
69 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.4
80 # DCAE HV VES Collector
84 image: ${DOCKER_REGISTRY}/${HV_VES_COLLECTOR_NAMESPACE}/${HV_VES_GROUP_ID}.${HV_VES_IMAGE}:${HV_VES_VERSION}
88 command: ["--configuration-file", "/etc/hv-ves/configuration/secure.json"]
91 - HOSTNAME=${HV_VES_HOSTNAME}
93 - CONFIG_BINDING_SERVICE
98 test: ${HV_VES_HEALTHCHECK_CMD}
100 - ./collector/:/etc/hv-ves/
102 - config-binding-service
107 unencrypted-hv-ves-collector:
108 image: ${DOCKER_REGISTRY}/${HV_VES_COLLECTOR_NAMESPACE}/${HV_VES_GROUP_ID}.${HV_VES_IMAGE}:${HV_VES_VERSION}
112 command: ["--configuration-file", "/etc/hv-ves/configuration/insecure.json"]
115 - HOSTNAME=${HV_VES_HOSTNAME}
117 - CONFIG_BINDING_SERVICE
122 test: ${HV_VES_HEALTHCHECK_CMD}
124 - ./collector/:/etc/hv-ves/
126 - config-binding-service
132 image: ${DOCKER_REGISTRY}/${HV_VES_COLLECTOR_NAMESPACE}/${HV_VES_GROUP_ID}.${DCAE_APP_SIMULATOR_IMAGE}:${HV_VES_VERSION}
135 command: ["--listen-port", "6063", "--kafka-bootstrap-servers", "kafka:9092", "--kafka-topics", "non-existing-topic"]
140 test: "curl --request GET --fail --silent --show-error localhost:6063/healthcheck"