1 ################################################################################
2 # Copyright 2020 highstreet technologies and others
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
19 image: ${SDNRDB_IMAGE}
20 container_name: sdnrdb
22 - discovery.type=single-node
25 ipv4_address: ${ESDB_IP}
33 #entrypoint: ["/bin/bash", "/opt/onap/sdnc/bin/startODL.oom.sh"]
35 - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
36 - ODL_CERT_DIR=${ODL_CERT_DIR}
37 - ENABLE_ODL_CLUSTER=false
44 - SDNRDBURL=http://sdnrdb:9200
46 - ./sdnr/mountpoint-registrar.properties:/opt/opendaylight/etc/mountpoint-registrar.properties
47 - ./sdnr/certs/certs.properties:${ODL_CERT_DIR}/certs.properties
48 - ./sdnr/certs/keys0.zip:${ODL_CERT_DIR}/keys0.zip
51 ipv4_address: ${SDNR_IP}
58 image: ${ZOOKEEPER_IMAGE}
59 container_name: zookeeper
64 ZOOKEEPER_TICK_TIME: 2000
65 ZOOKEEPER_SYNC_LIMIT: 5
66 ZOOKEEPER_INIT_LIMIT: 10
67 ZOOKEEPER_MAX_CLIENT_CNXNS: 200
68 ZOOKEEPER_AUTOPURGE_SNAP_RETAIN_COUNT: 3
69 ZOOKEEPER_AUTOPURGE_PURGE_INTERVAL: 24
70 ZOOKEEPER_CLIENT_PORT: 2181
71 KAFKA_OPTS: -Djava.security.auth.login.config=/etc/zookeeper/secrets/jaas/zk_server_jaas.conf -Dzookeeper.kerberos.removeHostFromPrincipal=true -Dzookeeper.kerberos.removeRealmFromPrincipal=true -Dzookeeper.authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider -Dzookeeper.requireClientAuthScheme=sasl
74 - ./zk/zk_server_jaas.conf:/etc/zookeeper/secrets/jaas/zk_server_jaas.conf
79 ipv4_address: ${ZOOKEEPER_IP}
87 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
88 KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 40000
89 KAFKA_ZOOKEEPER_SESSION_TIMEOUT_MS: 40000
90 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT
91 KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka:9092
92 KAFKA_LISTENERS: INTERNAL_PLAINTEXT://0.0.0.0:9092
93 KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_PLAINTEXT
94 KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE: 'false'
95 KAFKA_OPTS: -Djava.security.auth.login.config=/etc/kafka/secrets/jaas/zk_client_jaas.conf
96 KAFKA_ZOOKEEPER_SET_ACL: 'true'
97 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
98 # Reduced the number of partitions only to avoid the timeout error for the first subscribe call in slow environment
99 KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS: 1
101 - ./kafka/zk_client_jaas.conf:/etc/kafka/secrets/jaas/zk_client_jaas.conf
106 ipv4_address: ${KAFKA_IP}
111 container_name: onap-dmaap
112 image: ${DMAAP_IMAGE}
119 - ./mr/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
120 - ./mr/logback.xml:/appl/dmaapMR1/bundleconfig/etc/logback.xml
121 - ./mr/cadi.properties:/appl/dmaapMR1/etc/cadi.properties
126 ipv4_address: ${DMAAP_IP}
133 container_name: vescollector
140 - ./vesc/collector.properties:/opt/app/VESCollector/etc/collector.properties
143 ipv4_address: ${VESCOLLECTOR_IP}
150 - subnet: ${NETWORK_SUBNET}
151 gateway: ${GATEWAY_IP}