1 ################################################################################
2 # Copyright 2021 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: ${IPv4_SDNRDB}
26 ipv6_address: ${IPv6_SDNRDB}
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
45 - ODL_ADMIN_PASSWORD=${ODL_ADMIN_PASSWORD}
46 - JAVA_OPTS=-Xms256m -Xmx2g
48 - ./sdnr/mountpoint-registrar.properties:/opt/opendaylight/etc/mountpoint-registrar.properties
49 - ./sdnr/certs/certs.properties:${ODL_CERT_DIR}/certs.properties
50 - ./sdnr/certs/keys0.zip:${ODL_CERT_DIR}/keys0.zip
53 ipv4_address: ${IPv4_SDNC}
54 ipv6_address: ${IPv6_SDNC}
61 image: ${ZOOKEEPER_IMAGE}
62 container_name: zookeeper
67 ZOOKEEPER_TICK_TIME: 2000
68 ZOOKEEPER_SYNC_LIMIT: 5
69 ZOOKEEPER_INIT_LIMIT: 10
70 ZOOKEEPER_MAX_CLIENT_CNXNS: 200
71 ZOOKEEPER_AUTOPURGE_SNAP_RETAIN_COUNT: 3
72 ZOOKEEPER_AUTOPURGE_PURGE_INTERVAL: 24
73 ZOOKEEPER_CLIENT_PORT: 2181
74 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
77 - ./zk/zk_server_jaas.conf:/etc/zookeeper/secrets/jaas/zk_server_jaas.conf
82 ipv4_address: ${IPv4_ZOOKEEPER}
83 ipv6_address: ${IPv6_ZOOKEEPER}
91 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
92 KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 40000
93 KAFKA_ZOOKEEPER_SESSION_TIMEOUT_MS: 40000
94 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT
95 KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka:9092
96 KAFKA_LISTENERS: INTERNAL_PLAINTEXT://0.0.0.0:9092
97 KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_PLAINTEXT
98 KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE: 'false'
99 KAFKA_OPTS: -Djava.security.auth.login.config=/etc/kafka/secrets/jaas/zk_client_jaas.conf
100 KAFKA_ZOOKEEPER_SET_ACL: 'true'
101 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
102 # Reduced the number of partitions only to avoid the timeout error for the first subscribe call in slow environment
103 KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS: 1
105 - ./kafka/zk_client_jaas.conf:/etc/kafka/secrets/jaas/zk_client_jaas.conf
110 ipv4_address: ${IPv4_KAFKA}
111 ipv6_address: ${IPv6_KAFKA}
115 container_name: onap-dmaap
116 image: ${DMAAP_IMAGE}
123 - ./dmaap/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
124 - ./dmaap/logback.xml:/appl/dmaapMR1/bundleconfig/etc/logback.xml
125 - ./dmaap/cadi.properties:/appl/dmaapMR1/etc/cadi.properties
130 ipv4_address: ${IPv4_DMAAP}
131 ipv6_address: ${IPv6_DMAAP}
137 image: ${VESCOLLECTOR_IMAGE}
138 container_name: vescollector
140 DMAAPHOST: "onap-dmaap"
145 - ./vescollector/collector.properties:/opt/app/VESCollector/etc/collector.properties
148 ipv4_address: ${IPv4_VESCOLLECTOR}
149 ipv6_address: ${IPv6_VESCOLLECTOR}
157 - subnet: ${IPv4_NETWORK_SUBNET}
158 gateway: ${IPv4_GATEWAY}
159 - subnet: ${IPv6_NETWORK_SUBNET}
160 gateway: ${IPv6_GATEWAY}