blob: 41b1ab4cc25c3ae6b47772b747d921f44b1105a0 (
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
|
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:
- ./dr-mount/provserver.properties:/opt/app/datartr/etc/provserver.properties
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:
- ./dr-mount/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: nexus3.onap.org:10001/node:10-slim
container_name: mr-simulator
volumes:
- ./message-router/mrserver.js:/tmp/mrserver.js
command:
nodejs /tmp/mrserver.js
networks:
pmmapper-network:
ipv4_address: $NODE_IP
mariadb:
image: nexus3.onap.org:10001/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
files-publisher:
container_name: files-publisher
build:
context: .
dockerfile: files-publisher/Dockerfile
volumes:
- ./files-publisher/files/:/files/
extra_hosts:
- "dmaap-dr-prov:$DR_PROV_IP"
- "dmaap-dr-node:$DR_NODE_IP"
networks:
pmmapper-network:
ipv4_address: $FILES_PUBLISHER_IP
networks:
pmmapper-network:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
|