2 # ===========LICENSE_START====================================================
3 # Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
4 # Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
5 # Modifications Copyright (C) 2021 Nordix Foundation. All rights reserved.
6 # ============================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=====================================================
30 image: nexus3.onap.org:10001/mariadb:10.5.8
31 container_name: mariadb
33 command: ['--lower-case-table-names=1', '--wait_timeout=28800']
34 env_file: config/db/db.conf
36 - ./config/db:/docker-entrypoint-initdb.d:ro
42 image: nexus3.onap.org:10001/onap/policy-api:2.4.2
43 container_name: policy-api
52 - ./config/ks.jks:/opt/app/policy/api/etc/ssl/policy-keystore.jks:ro
53 - ./wait_for_port.sh:/opt/app/policy/api/bin/wait_for_port.sh:ro
54 entrypoint: ./wait_for_port.sh
56 '-c', './policy-api.sh',
62 image: nexus3.onap.org:10001/onap/policy-pap:2.4.2
63 container_name: policy-pap
73 - ./config/pap/defaultConfig.json:/opt/app/policy/pap/etc/defaultConfig.json:ro
74 - ./config/ks.jks:/opt/app/policy/pap/etc/ssl/policy-keystore.jks:ro
75 - ./wait_for_port.sh:/opt/app/policy/pap/bin/wait_for_port.sh:ro
76 entrypoint: ./wait_for_port.sh
78 '-c', './policy-pap.sh',
87 image: nexus3.onap.org:10001/onap/policy-xacml-pdp:2.4.2
88 container_name: policy-xacml-pdp
92 hostname: policy-xacml-pdp
96 - ./config/xacml-pdp/defaultConfig.json:/opt/app/policy/pdpx/etc/defaultConfig.json:ro
97 - ./config/ks.jks:/opt/app/policy/pdpx/etc/ssl/policy-keystore.jks:ro
98 - ./wait_for_port.sh:/opt/app/policy/pdpx/bin/wait_for_port.sh:ro
99 entrypoint: ./wait_for_port.sh
101 '-c', './policy-pdpx.sh',
103 'onap-dmaap', '3904',
110 image: nexus3.onap.org:10001/onap/policy-drools:1.8.2
111 container_name: drools
120 - ./config/drools/custom:/tmp/policy-install/config:ro
121 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
123 - config/drools/env/base.conf
124 entrypoint: /opt/app/policy/bin/wait_for_port.sh
126 '-c', '/opt/app/policy/bin/pdpd-entrypoint.sh boot',
134 image: nexus3.onap.org:10001/onap/policy-pdpd-cl:1.8.2
135 container_name: drools-apps
140 hostname: drools-apps
145 - ./config/drools-apps/custom:/tmp/policy-install/config:ro
146 - ./config/drools-apps/custom/feature-lifecycle.properties:/opt/app/policy/features/lifecycle/config/feature-lifecycle.properties:ro
147 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
149 - config/drools-apps/env/base.conf
150 - config/drools-apps/env/feature-healthcheck.conf
151 - config/drools-apps/env/feature-pooling-dmaap.conf
152 entrypoint: /opt/app/policy/bin/wait_for_port.sh
154 '-c', '/opt/app/policy/bin/pdpd-cl-entrypoint.sh boot',
156 'onap-dmaap', '3904',
163 image: registry.nordix.org/onap/policy-apex-pdp:2.6.0-SNAPSHOT
164 container_name: policy-apex-pdp
168 hostname: policy-apex-pdp
173 - ./config/apex-pdp/OnapPfConfig.json:/opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json:ro
174 - ./config/ks.jks:/opt/app/policy/apex-pdp/etc/ssl/policy-keystore.jks:ro
175 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
176 entrypoint: /opt/app/policy/bin/wait_for_port.sh
178 '-c', '/opt/app/policy/apex-pdp/bin/apexOnapPf.sh -c /opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json',
180 'onap-dmaap', '3904',
187 image: nexus3.onap.org:10001/onap/policy-distribution:2.5.2
188 container_name: policy-distribution
194 hostname: policy-distribution
196 - ./config/distribution/defaultConfig.json:/opt/app/policy/distribution/etc/defaultConfig.json:ro
197 - ./config/ks.jks:/opt/app/policy/distribution/etc/ssl/policy-keystore.jks:ro
198 - ./distribution/config/temp/:/opt/app/policy/distribution/etc/temp/:ro
199 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
200 entrypoint: /opt/app/policy/bin/wait_for_port.sh
202 '-c', './policy-dist.sh',
204 'onap-dmaap', '3904',