1 # Copyright (C) 2019 Nordix Foundation.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
20 image: mariadb:${POLICY_MARIADB_VER}
21 container_name: mariadb
23 command: ['--lower-case-table-names=1', '--wait_timeout=28800']
24 env_file: config/db/db.conf
26 - ./config/db:/docker-entrypoint-initdb.d
30 image: dmaap/simulator
31 container_name: dmaap-simulator
32 hostname: dmaap-simulator
36 image: nexus3.onap.org:10001/onap/policy-pap:${POLICY_PAP_VERSION}
37 container_name: policy-pap
45 image: nexus3.onap.org:10001/onap/policy-api:${POLICY_API_VERSION}
46 container_name: policy-api
53 image: nexus3.onap.org:10001/onap/policy-distribution:${POLICY_DISTRIBUTION_VERSION}
54 container_name: policy-distribution
55 hostname: policy-distribution
57 - ./config/distribution/defaultConfig.json:/opt/app/policy/distribution/etc/defaultConfig.json
58 - ./config/distribution/temp/:/opt/app/policy/distribution/etc/temp/
67 image: nexus3.onap.org:10001/onap/policy-apex-pdp:${POLICY_APEX_PDP_VERSION}
68 container_name: policy-apex-pdp
73 hostname: policy-apex-pdp
74 command: ['/opt/app/policy/apex-pdp/bin/apexOnapPf.sh', '-c', '/opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json']
79 image: dadarek/wait-for-dependencies
82 container_name: policy-wait
91 image: dadarek/wait-for-dependencies
94 container_name: policy-wait-all
102 hostname: policy-wait-all