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