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 | f24f4a9 | 2017-05-10 10:07:42 -0400 | [diff] [blame] | 15 | networks: |
| 16 | default: |
| 17 | driver: bridge |
| 18 | driver_opts: |
| 19 | com.docker.network.driver.mtu: ${MTU} |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 20 | services: |
| 21 | mariadb: |
Jorge Hernandez | c911671 | 2018-05-06 23:03:13 -0500 | [diff] [blame] | 22 | image: mariadb:10.2.14 |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 23 | container_name: mariadb |
| 24 | hostname: mariadb |
Jorge Hernandez | c911671 | 2018-05-06 23:03:13 -0500 | [diff] [blame] | 25 | command: ['--lower-case-table-names=1', '--wait_timeout=28800'] |
Jorge Hernandez | cf4f2b4 | 2018-02-28 17:22:45 -0600 | [diff] [blame] | 26 | env_file: config/db/db.conf |
Jorge Hernandez | bd14de8 | 2018-02-27 11:41:54 -0600 | [diff] [blame] | 27 | volumes: |
| 28 | - ./config/db:/docker-entrypoint-initdb.d |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 29 | ports: |
| 30 | - "3306:3306" |
| 31 | nexus: |
Jorge Hernandez | 6b63b97 | 2018-04-18 12:47:08 -0500 | [diff] [blame] | 32 | image: sonatype/nexus:2.14.8-01 |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 33 | container_name: nexus |
| 34 | hostname: nexus |
Jorge Hernandez | 9c00280 | 2018-03-28 17:39:51 -0500 | [diff] [blame] | 35 | restart: always |
| 36 | ports: |
| 37 | - "9081:8081" |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 38 | pap: |
mmis | 6dc5a24 | 2018-03-14 12:35:35 +0000 | [diff] [blame] | 39 | image: onap/policy-pe |
Pamela Dragosh | ca15b92 | 2017-10-10 16:18:27 -0400 | [diff] [blame] | 40 | environment: |
| 41 | - PRELOAD_POLICIES=${PRELOAD_POLICIES} |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 42 | container_name: pap |
| 43 | depends_on: |
| 44 | - mariadb |
| 45 | hostname: pap |
| 46 | ports: |
| 47 | - "8443:8443" |
| 48 | - "9091:9091" |
| 49 | command: pap |
| 50 | volumes: |
| 51 | - ./config/pe:/tmp/policy-install/config |
| 52 | pdp: |
mmis | 6dc5a24 | 2018-03-14 12:35:35 +0000 | [diff] [blame] | 53 | image: onap/policy-pe |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 54 | container_name: pdp |
| 55 | depends_on: |
| 56 | - pap |
| 57 | hostname: pdp |
| 58 | ports: |
Pamela Dragosh | 5e1f8a7 | 2017-05-12 10:08:40 -0400 | [diff] [blame] | 59 | - "8081:8081" |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 60 | command: pdp |
| 61 | volumes: |
| 62 | - ./config/pe:/tmp/policy-install/config |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 63 | brmsgw: |
mmis | 6dc5a24 | 2018-03-14 12:35:35 +0000 | [diff] [blame] | 64 | image: onap/policy-pe |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 65 | container_name: brmsgw |
| 66 | depends_on: |
| 67 | - pap |
| 68 | hostname: brmsgw |
| 69 | command: brmsgw |
| 70 | volumes: |
| 71 | - ./config/pe:/tmp/policy-install/config |
| 72 | drools: |
mmis | 6dc5a24 | 2018-03-14 12:35:35 +0000 | [diff] [blame] | 73 | image: onap/policy-drools |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 74 | container_name: drools |
| 75 | depends_on: |
| 76 | - mariadb |
| 77 | - nexus |
| 78 | hostname: drools |
Jorge Hernandez | 9c00280 | 2018-03-28 17:39:51 -0500 | [diff] [blame] | 79 | restart: always |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 80 | ports: |
| 81 | - "6969:6969" |
Jorge Hernandez | d69cc0d | 2017-08-30 06:09:32 -0500 | [diff] [blame] | 82 | - "9696:9696" |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 83 | volumes: |
| 84 | - ./config/drools:/tmp/policy-install/config |