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-models-simulator:${POLICY_MODELS_VERSION}
33 container_name: dmaap-simulator
34 hostname: dmaap-simulator
36 - ./config/sim:/opt/app/policy/simulators/etc/mounted:ro
42 image: ${CONTAINER_LOCATION}onap/policy-api:${POLICY_API_VERSION}
43 container_name: policy-api
52 image: ${CONTAINER_LOCATION}onap/policy-pap:${POLICY_PAP_VERSION}
53 container_name: policy-pap
64 image: onap/policy-xacml-tutorial:${POLICY_XACML_TUTORIAL_VERSION}
65 container_name: policy-xacml-pdp
71 hostname: policy-xacml-pdp
77 image: dadarek/wait-for-dependencies
80 container_name: policy-wait
89 image: dadarek/wait-for-dependencies
92 container_name: policy-wait-all
99 hostname: policy-wait-all