Add test for csar validation get result using execution id.
[integration/csit.git] / scripts / policy / docker-compose-drools.yml
1 # Copyright 2018-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    nexus:
28       image: sonatype/nexus:2.14.8-01
29       container_name: nexus
30       hostname: nexus
31       expose:
32          - 8081
33    drools:
34       image: nexus3.onap.org:10001/onap/policy-drools:${POLICY_DROOLS_VERSION}
35       container_name: drools
36       depends_on:
37          - mariadb
38          - nexus
39       hostname: drools
40       expose:
41          - 6969
42          - 9696
43       volumes:
44          - ${WORKSPACE}/scripts/policy/config/drools/custom:/tmp/policy-install/config
45       env_file:
46          - ${WORKSPACE}/scripts/policy/config/drools/env/base.conf