CSIT fixes for frankfurt breakage
[integration/csit.git] / scripts / policy / docker-compose-drools-apps.yml
1 # Copyright 2019-2020 AT&T Intellectual Property. All rights reserved
2 #
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
6 #
7 #         http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14 version: '2'
15 services:
16    mariadb:
17       image: mariadb:${POLICY_MARIADB_VER}
18       container_name: mariadb
19       hostname: mariadb
20       command: ['--lower-case-table-names=1', '--wait_timeout=28800']
21       env_file:
22          - ${WORKSPACE}/scripts/policy/config/db/db.conf
23       volumes:
24          - ${WORKSPACE}/scripts/policy/config/db:/docker-entrypoint-initdb.d
25       expose:
26        - 3306
27    drools:
28       image: nexus3.onap.org:10001/onap/policy-pdpd-cl:${POLICY_DROOLS_APPS_VERSION}
29       container_name: drools
30       depends_on:
31        - mariadb
32       hostname: drools
33       expose:
34        - 6969
35        - 9696
36       volumes:
37        - ${WORKSPACE}/scripts/policy/config/drools-apps/custom:/tmp/policy-install/config
38       env_file:
39         - ${WORKSPACE}/scripts/policy/config/drools-apps/env/base.conf
40         - ${WORKSPACE}/scripts/policy/config/drools-apps/env/feature-healthcheck.conf
41         - ${WORKSPACE}/scripts/policy/config/drools-apps/env/feature-pooling-dmaap.conf