2 # ===========LICENSE_START====================================================
3 # Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
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.
16 # ============LICENSE_END=====================================================
21 image: mariadb:${POLICY_MARIADB_VER}
22 container_name: mariadb
24 command: ['--lower-case-table-names=1', '--wait_timeout=28800']
25 env_file: ../config/db/db.conf
27 - ../config/db:/docker-entrypoint-initdb.d:ro
30 policy.api.simpledemo.onap.org:
31 image: policy/simulators
32 container_name: policy.api.simpledemo.onap.org
33 hostname: policy.api.simpledemo.onap.org
35 - ../config/sim-all:/opt/app/policy/simulators/etc/parameters:ro
43 image: nexus3.onap.org:10001/onap/policy-xacml-pdp:${POLICY_XACML_PDP_VERSION}
44 container_name: policy-xacml-pdp
47 - policy.api.simpledemo.onap.org
48 hostname: policy-xacml-pdp
52 - ./custom:/opt/app/policy/pdpx/etc:ro
54 image: nexus3.onap.org:10001/onap/policy-pdpd-cl:${POLICY_DROOLS_APPS_VERSION}
55 container_name: drools
58 - policy.api.simpledemo.onap.org
64 - ../config/drools-apps/custom:/tmp/policy-install/config:ro
66 - ../config/drools-apps/env/base.conf
67 - ../config/drools-apps/env/feature-healthcheck.conf
68 - ../config/drools-apps/env/feature-pooling-dmaap.conf
70 image: dadarek/wait-for-dependencies
73 container_name: policy-wait
76 - policy.api.simpledemo.onap.org
80 policy.api.simpledemo.onap.org:6666
81 policy.api.simpledemo.onap.org:6668
82 policy.api.simpledemo.onap.org:6669
83 policy.api.simpledemo.onap.org:6670
84 policy.api.simpledemo.onap.org:3905
86 image: dadarek/wait-for-dependencies
89 container_name: policy-wait-all
92 - policy.api.simpledemo.onap.org
95 hostname: policy-wait-all
98 policy.api.simpledemo.onap.org:6666
99 policy.api.simpledemo.onap.org:6668
100 policy.api.simpledemo.onap.org:6669
101 policy.api.simpledemo.onap.org:6670
102 policy.api.simpledemo.onap.org:3905