blob: dbd708b91daf2375d902d58543b2a496e1acade4 [file] [log] [blame]
Pamela Dragosha36e3ef2017-10-11 16:54:49 -04001version: '2'
Pamela Dragosh9b65ea22017-09-27 14:03:30 +02002services:
3 mariadb:
Jorge Hernandezbd14de82018-02-27 11:41:54 -06004 image: mariadb:10.0.34
Pamela Dragosh9b65ea22017-09-27 14:03:30 +02005 container_name: mariadb
6 hostname: mariadb
Jorge Hernandezbd14de82018-02-27 11:41:54 -06007 command: ['--lower-case-table-names=1']
8 volumes:
9 - ./config/db:/docker-entrypoint-initdb.d
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020010 expose:
11 - 3306
12 nexus:
13 image: onap/policy/policy-nexus
14 container_name: nexus
15 hostname: nexus
16 pap:
17 image: onap/policy/policy-pe
Pamela Dragoshca15b922017-10-10 16:18:27 -040018 environment:
19 - PRELOAD_POLICIES=${PRELOAD_POLICIES}
Pamela Dragosh9b65ea22017-09-27 14:03:30 +020020 container_name: pap
21 depends_on:
22 - mariadb
23 hostname: pap
24 expose:
25 - 8443
26 - 9091
27 command: pap
28 volumes:
29 - ./config/pe:/tmp/policy-install/config
30 pdp:
31 image: onap/policy/policy-pe
32 container_name: pdp
33 depends_on:
34 - pap
35 hostname: pdp
36 expose:
37 - 8081
38 command: pdp
39 volumes:
40 - ./config/pe:/tmp/policy-install/config
41 brmsgw:
42 image: onap/policy/policy-pe
43 container_name: brmsgw
44 depends_on:
45 - pap
46 hostname: brmsgw
47 command: brmsgw
48 volumes:
49 - ./config/pe:/tmp/policy-install/config
50 drools:
51 image: onap/policy/policy-drools
52 container_name: drools
53 depends_on:
54 - mariadb
55 - nexus
56 hostname: drools
57 expose:
58 - 6969
59 - 9696
60 volumes:
61 - ./config/drools:/tmp/policy-install/config