1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
3 # Modifications Copyright (C) 2022 Nordix Foundation.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
22 image: ${CONTAINER_LOCATION}mariadb:${POLICY_MARIADB_VER}
23 container_name: mariadb
25 command: [ '--lower-case-table-names=1', '--wait_timeout=28800' ]
26 env_file: config/db/db.conf
28 - ./config/db:/docker-entrypoint-initdb.d
32 image: ${CONTAINER_LOCATION}onap/policy-api:${POLICY_API_VERSION}
33 container_name: policy-api
42 image: ${CONTAINER_LOCATION}onap/policy-pap:${POLICY_PAP_VERSION}
43 container_name: policy-pap
54 image: onap/policy-xacml-tutorial:${POLICY_XACML_TUTORIAL_VERSION}
55 container_name: policy-xacml-pdp
59 hostname: policy-xacml-pdp
65 image: dadarek/wait-for-dependencies
68 container_name: policy-wait
77 image: dadarek/wait-for-dependencies
80 container_name: policy-wait-all
87 hostname: policy-wait-all
95 image: confluentinc/cp-zookeeper:latest
97 ZOOKEEPER_CLIENT_PORT: 2181
98 ZOOKEEPER_TICK_TIME: 2000
102 image: confluentinc/cp-kafka:latest
103 container_name: kafka
115 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
116 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
117 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
118 KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
119 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1