blob: 547f3830b0ed11c43a362621887bed50644bb9b4 [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 Dragoshf24f4a92017-05-10 10:07:42 -040015networks:
16 default:
17 driver: bridge
18 driver_opts:
19 com.docker.network.driver.mtu: ${MTU}
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050020services:
21 mariadb:
Jorge Hernandezbd14de82018-02-27 11:41:54 -060022 image: mariadb:10.0.34
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050023 container_name: mariadb
24 hostname: mariadb
Jorge Hernandezbd14de82018-02-27 11:41:54 -060025 command: ['--lower-case-table-names=1']
Jorge Hernandezcf4f2b42018-02-28 17:22:45 -060026 env_file: config/db/db.conf
Jorge Hernandezbd14de82018-02-27 11:41:54 -060027 volumes:
28 - ./config/db:/docker-entrypoint-initdb.d
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050029 ports:
30 - "3306:3306"
31 nexus:
Jorge Hernandez9c002802018-03-28 17:39:51 -050032 image: sonatype/nexus
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050033 container_name: nexus
34 hostname: nexus
Jorge Hernandez9c002802018-03-28 17:39:51 -050035 restart: always
36 ports:
37 - "9081:8081"
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050038 pap:
mmis6dc5a242018-03-14 12:35:35 +000039 image: onap/policy-pe
Pamela Dragoshca15b922017-10-10 16:18:27 -040040 environment:
41 - PRELOAD_POLICIES=${PRELOAD_POLICIES}
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050042 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:
mmis6dc5a242018-03-14 12:35:35 +000053 image: onap/policy-pe
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050054 container_name: pdp
55 depends_on:
56 - pap
57 hostname: pdp
58 ports:
Pamela Dragosh5e1f8a72017-05-12 10:08:40 -040059 - "8081:8081"
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050060 command: pdp
61 volumes:
62 - ./config/pe:/tmp/policy-install/config
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050063 brmsgw:
mmis6dc5a242018-03-14 12:35:35 +000064 image: onap/policy-pe
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050065 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:
mmis6dc5a242018-03-14 12:35:35 +000073 image: onap/policy-drools
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050074 container_name: drools
75 depends_on:
76 - mariadb
77 - nexus
78 hostname: drools
Jorge Hernandez9c002802018-03-28 17:39:51 -050079 restart: always
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050080 ports:
81 - "6969:6969"
Jorge Hernandezd69cc0d2017-08-30 06:09:32 -050082 - "9696:9696"
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050083 volumes:
84 - ./config/drools:/tmp/policy-install/config