pdragosh | 3f9a096 | 2019-04-16 13:19:45 -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. |
| 14 | version: '2' |
| 15 | services: |
| 16 | mariadb: |
| 17 | image: mariadb:10.2.14 |
| 18 | container_name: mariadb |
| 19 | hostname: mariadb |
| 20 | command: ['--lower-case-table-names=1', '--wait_timeout=28800'] |
| 21 | env_file: config/db/db.conf |
| 22 | volumes: |
| 23 | - ./config/db:/docker-entrypoint-initdb.d |
| 24 | expose: |
| 25 | - 3306 |
| 26 | nexus: |
| 27 | image: sonatype/nexus:2.14.8-01 |
| 28 | container_name: nexus |
| 29 | hostname: nexus |
| 30 | pap: |
| 31 | image: onap/policy-pe |
| 32 | environment: |
| 33 | - PRELOAD_POLICIES=${PRELOAD_POLICIES} |
| 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: |
| 45 | image: onap/policy-pe |
| 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: |
| 56 | image: onap/policy-pe |
| 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: |
| 65 | image: onap/policy-drools |
| 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 |