blob: c9f3e9adb4b788a0270ad2ffe3f6bcf9d6bb63f0 [file] [log] [blame]
AndyWalshec2894d12020-01-29 10:12:42 +00001version: '3.3'
2
3services:
4 datarouter-prov:
5 image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov
6 container_name: datarouter-prov
7 hostname: dmaap-dr-prov
8 ports:
9 - "443:8443"
10 - "8443:8443"
11 - "8080:8080"
12 volumes:
13 - /var/tmp/provserver.properties:/opt/app/datartr/etc/provserver.properties
14 - /var/tmp/addSubscriber.txt:/opt/app/datartr/addSubscriber.txt
15 - /var/tmp/addFeed3.txt:/opt/app/datartr/addFeed3.txt
16 depends_on:
17 - mariadb
18 healthcheck:
19 test: ["CMD", "curl", "-f", "http://dmaap-dr-prov:8080/internal/prov"]
20 interval: 10s
21 timeout: 10s
22 retries: 5
23 networks:
24 pmmapper-network:
25 ipv4_address: $DR_PROV_IP
26 extra_hosts:
27 - "dmaap-dr-node:$DR_NODE_IP"
28 - "dcae-pm-mapper:$PMMAPPER_IP"
29
30 datarouter-node:
31 image: nexus3.onap.org:10001/onap/dmaap/datarouter-node
32 container_name: datarouter-node
33 hostname: dmaap-dr-node
34 ports:
35 - "9443:8443"
36 - "9090:8080"
37 volumes:
38 - /var/tmp/node.properties:/opt/app/datartr/etc/node.properties
39 depends_on:
40 - datarouter-prov
41 networks:
42 pmmapper-network:
43 ipv4_address: $DR_NODE_IP
44 extra_hosts:
45 - "dmaap-dr-prov:$DR_PROV_IP"
46 - "dcae-pm-mapper:$PMMAPPER_IP"
47
48 node:
49 image: node:10-slim
50 container_name: mr-simulator
51 volumes:
52 - /var/tmp/mrserver.js:/tmp/mrserver.js
53 command:
54 nodejs /tmp/mrserver.js
55 networks:
56 pmmapper-network:
57 ipv4_address: $NODE_IP
58
59 mariadb:
60 image: mariadb:10.2.14
61 container_name: mariadb
62 ports:
63 - "3306:3306"
64 environment:
65 MYSQL_ROOT_PASSWORD: datarouter
66 MYSQL_DATABASE: datarouter
67 MYSQL_USER: datarouter
68 MYSQL_PASSWORD: datarouter
69 healthcheck:
70 test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--silent"]
71 interval: 10s
72 timeout: 30s
73 retries: 5
74 networks:
75 pmmapper-network:
76 ipv4_address: $MARIADB_IP
77
78 consul:
79 container_name: consul
80 image: nexus3.onap.org:10001/consul:latest
81 networks:
82 pmmapper-network:
83 ipv4_address: $CONSUL_IP
84
85 cbs:
86 container_name: cbs
87 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:latest
88 environment:
89 CONSUL_HOST: $CONSUL_IP
90 networks:
91 pmmapper-network:
92 ipv4_address: $CBS_IP
93
94 pmmapper:
95 container_name: pmmapper
rajendrajaiswal855e78e2020-02-10 13:36:42 +000096 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:latest
AndyWalshec2894d12020-01-29 10:12:42 +000097 ports:
98 - "8081:8081"
rajendrajaiswal855e78e2020-02-10 13:36:42 +000099 volumes:
100 - /var/tmp/:/opt/app/pm-mapper/etc/certs/
101 depends_on:
102 - datarouter-prov
AndyWalshec2894d12020-01-29 10:12:42 +0000103 environment:
104 CONFIG_BINDING_SERVICE_SERVICE_HOST: $CBS_IP
105 CONFIG_BINDING_SERVICE_SERVICE_PORT: 10000
106 HOSTNAME: pmmapper
107 networks:
108 pmmapper-network:
109 ipv4_address: $PMMAPPER_IP
110 extra_hosts:
111 - "dmaap-dr-node:$DR_NODE_IP"
112 - "message-router:$NODE_IP"
113
114
115networks:
116 pmmapper-network:
117 driver: bridge
118 ipam:
119 config:
120 - subnet: 172.18.0.0/16
121