1 ################################################################################
2 # Copyright 2022 highstreet technologies GmbH
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.
20 image: ${IDENTITY_IMAGE}
21 container_name: identity
23 - ${IDENTITY_PORT}:8443
25 - KEYCLOAK_USER=${ADMIN_USERNAME}
26 - KEYCLOAK_PASSWORD=${ADMIN_PASSWORD}
27 - JAVA_OPTS=-Djboss.bind.address.private=[::1] -Djboss.bind.address=[::1] -Djava.net.preferIPv6Addresses=true -Djava.net.preferIPv4Stack=false
33 image: ${PERSISTENCE_IMAGE}
34 container_name: persistence
36 - discovery.type=single-node
39 image: ${ZOOKEEPER_IMAGE}
40 container_name: zookeeper
45 ZOOKEEPER_TICK_TIME: 2000
46 ZOOKEEPER_SYNC_LIMIT: 5
47 ZOOKEEPER_INIT_LIMIT: 10
48 ZOOKEEPER_MAX_CLIENT_CNXNS: 200
49 ZOOKEEPER_AUTOPURGE_SNAP_RETAIN_COUNT: 3
50 ZOOKEEPER_AUTOPURGE_PURGE_INTERVAL: 24
51 ZOOKEEPER_CLIENT_PORT: 2181
52 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
55 - ./zookeeper/zk_server_jaas.conf:/etc/zookeeper/secrets/jaas/zk_server_jaas.conf
64 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
65 KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 40000
66 KAFKA_ZOOKEEPER_SESSION_TIMEOUT_MS: 40000
67 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT
68 KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka:9092
69 KAFKA_LISTENERS: INTERNAL_PLAINTEXT://0.0.0.0:9092
70 KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_PLAINTEXT
71 KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE: 'false'
72 KAFKA_OPTS: -Djava.security.auth.login.config=/etc/kafka/secrets/jaas/zk_client_jaas.conf
73 KAFKA_ZOOKEEPER_SET_ACL: 'true'
74 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
75 # Reduced the number of partitions only to avoid the timeout error for the first subscribe call in slow environment
76 KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS: 1
78 - ./kafka/zk_client_jaas.conf:/etc/kafka/secrets/jaas/zk_client_jaas.conf
83 container_name: onap-dmaap
91 - ./dmaap/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
92 - ./dmaap/logback.xml:/appl/dmaapMR1/bundleconfig/etc/logback.xml
93 - ./dmaap/cadi.properties:/appl/dmaapMR1/etc/cadi.properties
110 - subnet: ${NETWORK_SUBNET_SMO}
111 gateway: ${NETWORK_GATEWAY_SMO}