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