non onap jars converted to onap version
[policy/docker.git] / docker-compose.yml
1 version: '2'
2 networks:
3   default:
4     driver: bridge
5     driver_opts:
6       com.docker.network.driver.mtu: ${MTU}
7 services:
8    mariadb:
9       image: onap/policy/policy-db
10       container_name: mariadb
11       hostname: mariadb
12       ports:
13        - "3306:3306"
14    nexus:
15       image: onap/policy/policy-nexus
16       container_name: nexus
17       hostname: nexus
18    pap:
19       image: onap/policy/policy-pe
20       environment:
21        - PRELOAD_POLICIES=${PRELOAD_POLICIES}
22       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:
33       image: onap/policy/policy-pe
34       container_name: pdp
35       depends_on: 
36        - pap
37       hostname: pdp
38       ports:
39        - "8081:8081"
40       command: pdp
41       volumes:
42        - ./config/pe:/tmp/policy-install/config
43    brmsgw:
44       image: onap/policy/policy-pe
45       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:
53       image: onap/policy/policy-drools
54       container_name: drools
55       depends_on: 
56        - mariadb
57        - nexus
58       hostname: drools
59       ports:
60        - "6969:6969"
61        - "9696:9696"
62       volumes:
63        - ./config/drools:/tmp/policy-install/config