blob: 96fd5073e9d51908dabd04643aa96b42820ac681 [file] [log] [blame]
Pamela Dragosha36e3ef2017-10-11 16:54:49 -04001version: '2'
Pamela Dragoshf24f4a92017-05-10 10:07:42 -04002networks:
3 default:
4 driver: bridge
5 driver_opts:
6 com.docker.network.driver.mtu: ${MTU}
Pamela Dragoshd1728dc2017-02-14 19:57:17 -05007services:
8 mariadb:
Pamela Dragosh18882a02017-03-30 10:50:45 -04009 image: onap/policy/policy-db
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050010 container_name: mariadb
11 hostname: mariadb
12 ports:
13 - "3306:3306"
14 nexus:
Pamela Dragosh18882a02017-03-30 10:50:45 -040015 image: onap/policy/policy-nexus
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050016 container_name: nexus
17 hostname: nexus
18 pap:
Pamela Dragosh18882a02017-03-30 10:50:45 -040019 image: onap/policy/policy-pe
Pamela Dragoshca15b922017-10-10 16:18:27 -040020 environment:
21 - PRELOAD_POLICIES=${PRELOAD_POLICIES}
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050022 container_name: pap
23 depends_on:
24 - mariadb
25 hostname: pap
26 ports:
27 - "8443:8443"
28 - "9091:9091"
29 command: pap
30 volumes:
31 - ./config/pe:/tmp/policy-install/config
32 pdp:
Pamela Dragosh18882a02017-03-30 10:50:45 -040033 image: onap/policy/policy-pe
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050034 container_name: pdp
35 depends_on:
36 - pap
37 hostname: pdp
38 ports:
Pamela Dragosh5e1f8a72017-05-12 10:08:40 -040039 - "8081:8081"
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050040 command: pdp
41 volumes:
42 - ./config/pe:/tmp/policy-install/config
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050043 brmsgw:
Pamela Dragosh18882a02017-03-30 10:50:45 -040044 image: onap/policy/policy-pe
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050045 container_name: brmsgw
46 depends_on:
47 - pap
48 hostname: brmsgw
49 command: brmsgw
50 volumes:
51 - ./config/pe:/tmp/policy-install/config
52 drools:
Pamela Dragosh18882a02017-03-30 10:50:45 -040053 image: onap/policy/policy-drools
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050054 container_name: drools
55 depends_on:
56 - mariadb
57 - nexus
58 hostname: drools
59 ports:
60 - "6969:6969"
Jorge Hernandezd69cc0d2017-08-30 06:09:32 -050061 - "9696:9696"
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050062 volumes:
63 - ./config/drools:/tmp/policy-install/config