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=====================================================
24 name: nonrtric-docker-net
27 image: nexus3.onap.org:10001/mariadb:10.5.8
28 container_name: mariadb
31 - db-vol:/var/lib/mysql
32 - "./config/db/:/docker-entrypoint-initdb.d:rw"
34 - MYSQL_ROOT_PASSWORD=strong_pitchou
40 image: nexus3.onap.org:10001/onap/policy-api:2.4.2
41 container_name: policy-api
50 - ./config/api/defaultConfig.json:/opt/app/policy/api/etc/defaultConfig.json:ro
51 - ./config/ks.jks:/opt/app/policy/api/etc/ssl/policy-keystore.jks:ro
52 - ./wait_for_port.sh:/opt/app/policy/api/bin/wait_for_port.sh:ro
53 entrypoint: ./wait_for_port.sh
55 '-c', './policy-api.sh',
59 image: nexus3.onap.org:10001/onap/policy-pap:2.4.2
60 container_name: policy-pap
70 - ./config/pap/defaultConfig.json:/opt/app/policy/pap/etc/defaultConfig.json:ro
71 - ./config/ks.jks:/opt/app/policy/pap/etc/ssl/policy-keystore.jks:ro
72 - ./wait_for_port.sh:/opt/app/policy/pap/bin/wait_for_port.sh:ro
73 entrypoint: ./wait_for_port.sh
75 '-c', './policy-pap.sh',
81 image: nexus3.onap.org:10001/onap/policy-xacml-pdp:2.4.2
82 container_name: policy-xacml-pdp
86 hostname: policy-xacml-pdp
90 - ./config/xacml-pdp/defaultConfig.json:/opt/app/policy/pdpx/etc/defaultConfig.json:ro
91 - ./config/ks.jks:/opt/app/policy/pdpx/etc/ssl/policy-keystore.jks:ro
92 - ./wait_for_port.sh:/opt/app/policy/pdpx/bin/wait_for_port.sh:ro
93 entrypoint: ./wait_for_port.sh
95 '-c', './policy-pdpx.sh',
101 image: nexus3.onap.org:10001/onap/policy-drools:1.8.2
102 container_name: drools
111 - ./config/drools/custom:/tmp/policy-install/config:ro
112 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
114 - config/drools/env/base.conf
115 entrypoint: /opt/app/policy/bin/wait_for_port.sh
117 '-c', '/opt/app/policy/bin/pdpd-entrypoint.sh boot',
122 image: nexus3.onap.org:10001/onap/policy-pdpd-cl:1.8.2
123 container_name: drools-apps
128 hostname: drools-apps
133 - ./config/drools-apps/custom:/tmp/policy-install/config:ro
134 - ./config/drools-apps/custom/feature-lifecycle.properties:/opt/app/policy/features/lifecycle/config/feature-lifecycle.properties:ro
135 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
137 - config/drools-apps/env/base.conf
138 - config/drools-apps/env/feature-healthcheck.conf
139 - config/drools-apps/env/feature-pooling-dmaap.conf
140 entrypoint: /opt/app/policy/bin/wait_for_port.sh
142 '-c', '/opt/app/policy/bin/pdpd-cl-entrypoint.sh boot',
144 'onap-dmaap', '3904',
148 image: registry.nordix.org/onap/policy-apex-pdp:2.6.0-SNAPSHOT
149 container_name: policy-apex-pdp
153 hostname: policy-apex-pdp
158 - ./config/apex-pdp/OnapPfConfig.json:/opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json:ro
159 - ./config/ks.jks:/opt/app/policy/apex-pdp/etc/ssl/policy-keystore.jks:ro
160 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
161 entrypoint: /opt/app/policy/bin/wait_for_port.sh
163 '-c', '/opt/app/policy/apex-pdp/bin/apexOnapPf.sh -c /opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json',
165 'onap-dmaap', '3904',
169 image: nexus3.onap.org:10001/onap/policy-distribution:2.5.2
170 container_name: policy-distribution
176 hostname: policy-distribution
178 - ./config/distribution/defaultConfig.json:/opt/app/policy/distribution/etc/defaultConfig.json:ro
179 - ./config/ks.jks:/opt/app/policy/distribution/etc/ssl/policy-keystore.jks:ro
180 - ./distribution/config/temp/:/opt/app/policy/distribution/etc/temp/:ro
181 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
182 entrypoint: /opt/app/policy/bin/wait_for_port.sh
184 '-c', './policy-dist.sh',
186 'onap-dmaap', '3904',