blob: e67729e267f9035b77fe122d2b39b9d7d8f73e0b [file] [log] [blame]
Pamela Dragoshbed17e52018-04-16 14:15:46 -04001# Copyright 2018 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.
Pamela Dragosha36e3ef2017-10-11 16:54:49 -040014version: '2'
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020015services:
16 mariadb:
Jorge Hernandezc9116712018-05-06 23:03:13 -050017 image: mariadb:10.2.14
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020018 container_name: mariadb
19 hostname: mariadb
Jorge Hernandezc9116712018-05-06 23:03:13 -050020 command: ['--lower-case-table-names=1', '--wait_timeout=28800']
Jorge Hernandezcf4f2b42018-02-28 17:22:45 -060021 env_file: config/db/db.conf
Jorge Hernandezbd14de82018-02-27 11:41:54 -060022 volumes:
23 - ./config/db:/docker-entrypoint-initdb.d
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020024 expose:
25 - 3306
26 nexus:
Jorge Hernandez6b63b972018-04-18 12:47:08 -050027 image: sonatype/nexus:2.14.8-01
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020028 container_name: nexus
29 hostname: nexus
30 pap:
mmis6dc5a242018-03-14 12:35:35 +000031 image: onap/policy-pe
Pamela Dragoshca15b922017-10-10 16:18:27 -040032 environment:
33 - PRELOAD_POLICIES=${PRELOAD_POLICIES}
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020034 container_name: pap
35 depends_on:
36 - mariadb
37 hostname: pap
38 expose:
39 - 8443
40 - 9091
41 command: pap
42 volumes:
43 - ./config/pe:/tmp/policy-install/config
44 pdp:
mmis6dc5a242018-03-14 12:35:35 +000045 image: onap/policy-pe
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020046 container_name: pdp
47 depends_on:
48 - pap
49 hostname: pdp
50 expose:
51 - 8081
52 command: pdp
53 volumes:
54 - ./config/pe:/tmp/policy-install/config
55 brmsgw:
mmis6dc5a242018-03-14 12:35:35 +000056 image: onap/policy-pe
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020057 container_name: brmsgw
58 depends_on:
59 - pap
60 hostname: brmsgw
61 command: brmsgw
62 volumes:
63 - ./config/pe:/tmp/policy-install/config
64 drools:
mmis6dc5a242018-03-14 12:35:35 +000065 image: onap/policy-drools
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020066 container_name: drools
67 depends_on:
68 - mariadb
69 - nexus
70 hostname: drools
71 expose:
72 - 6969
73 - 9696
74 volumes:
75 - ./config/drools:/tmp/policy-install/config