blob: 0196c796670edca546ca250ce7b08ecb322f8811 [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:
Jorge Hernandezbd14de82018-02-27 11:41:54 -06009 image: mariadb:10.0.34
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050010 container_name: mariadb
11 hostname: mariadb
Jorge Hernandezbd14de82018-02-27 11:41:54 -060012 command: ['--lower-case-table-names=1']
13 volumes:
14 - ./config/db:/docker-entrypoint-initdb.d
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050015 ports:
16 - "3306:3306"
17 nexus:
Pamela Dragosh18882a02017-03-30 10:50:45 -040018 image: onap/policy/policy-nexus
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050019 container_name: nexus
20 hostname: nexus
21 pap:
Pamela Dragosh18882a02017-03-30 10:50:45 -040022 image: onap/policy/policy-pe
Pamela Dragoshca15b922017-10-10 16:18:27 -040023 environment:
24 - PRELOAD_POLICIES=${PRELOAD_POLICIES}
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050025 container_name: pap
26 depends_on:
27 - mariadb
28 hostname: pap
29 ports:
30 - "8443:8443"
31 - "9091:9091"
32 command: pap
33 volumes:
34 - ./config/pe:/tmp/policy-install/config
35 pdp:
Pamela Dragosh18882a02017-03-30 10:50:45 -040036 image: onap/policy/policy-pe
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050037 container_name: pdp
38 depends_on:
39 - pap
40 hostname: pdp
41 ports:
Pamela Dragosh5e1f8a72017-05-12 10:08:40 -040042 - "8081:8081"
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050043 command: pdp
44 volumes:
45 - ./config/pe:/tmp/policy-install/config
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050046 brmsgw:
Pamela Dragosh18882a02017-03-30 10:50:45 -040047 image: onap/policy/policy-pe
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050048 container_name: brmsgw
49 depends_on:
50 - pap
51 hostname: brmsgw
52 command: brmsgw
53 volumes:
54 - ./config/pe:/tmp/policy-install/config
55 drools:
Pamela Dragosh18882a02017-03-30 10:50:45 -040056 image: onap/policy/policy-drools
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050057 container_name: drools
58 depends_on:
59 - mariadb
60 - nexus
61 hostname: drools
62 ports:
63 - "6969:6969"
Jorge Hernandezd69cc0d2017-08-30 06:09:32 -050064 - "9696:9696"
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050065 volumes:
66 - ./config/drools:/tmp/policy-install/config