Pamela Dragosh | bed17e5 | 2018-04-16 14:15:46 -0400 | [diff] [blame] | 1 | # 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 Dragosh | a36e3ef | 2017-10-11 16:54:49 -0400 | [diff] [blame] | 14 | version: '2' |
Pamela Dragosh | 9b65ea2 | 2017-09-27 14:03:30 +0200 | [diff] [blame] | 15 | services: |
| 16 | mariadb: |
Jorge Hernandez | c911671 | 2018-05-06 23:03:13 -0500 | [diff] [blame] | 17 | image: mariadb:10.2.14 |
Pamela Dragosh | 9b65ea2 | 2017-09-27 14:03:30 +0200 | [diff] [blame] | 18 | container_name: mariadb |
| 19 | hostname: mariadb |
Jorge Hernandez | c911671 | 2018-05-06 23:03:13 -0500 | [diff] [blame] | 20 | command: ['--lower-case-table-names=1', '--wait_timeout=28800'] |
Jorge Hernandez | cf4f2b4 | 2018-02-28 17:22:45 -0600 | [diff] [blame] | 21 | env_file: config/db/db.conf |
Jorge Hernandez | bd14de8 | 2018-02-27 11:41:54 -0600 | [diff] [blame] | 22 | volumes: |
| 23 | - ./config/db:/docker-entrypoint-initdb.d |
Pamela Dragosh | 9b65ea2 | 2017-09-27 14:03:30 +0200 | [diff] [blame] | 24 | expose: |
| 25 | - 3306 |
| 26 | nexus: |
Jorge Hernandez | 6b63b97 | 2018-04-18 12:47:08 -0500 | [diff] [blame] | 27 | image: sonatype/nexus:2.14.8-01 |
Pamela Dragosh | 9b65ea2 | 2017-09-27 14:03:30 +0200 | [diff] [blame] | 28 | container_name: nexus |
| 29 | hostname: nexus |
| 30 | pap: |
mmis | 6dc5a24 | 2018-03-14 12:35:35 +0000 | [diff] [blame] | 31 | image: onap/policy-pe |
Pamela Dragosh | ca15b92 | 2017-10-10 16:18:27 -0400 | [diff] [blame] | 32 | environment: |
| 33 | - PRELOAD_POLICIES=${PRELOAD_POLICIES} |
Pamela Dragosh | 9b65ea2 | 2017-09-27 14:03:30 +0200 | [diff] [blame] | 34 | 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: |
mmis | 6dc5a24 | 2018-03-14 12:35:35 +0000 | [diff] [blame] | 45 | image: onap/policy-pe |
Pamela Dragosh | 9b65ea2 | 2017-09-27 14:03:30 +0200 | [diff] [blame] | 46 | 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: |
mmis | 6dc5a24 | 2018-03-14 12:35:35 +0000 | [diff] [blame] | 56 | image: onap/policy-pe |
Pamela Dragosh | 9b65ea2 | 2017-09-27 14:03:30 +0200 | [diff] [blame] | 57 | 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: |
mmis | 6dc5a24 | 2018-03-14 12:35:35 +0000 | [diff] [blame] | 65 | image: onap/policy-drools |
Pamela Dragosh | 9b65ea2 | 2017-09-27 14:03:30 +0200 | [diff] [blame] | 66 | 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 |