blob: 0843650edbb0b6b1b787c928ac9bedb331bd8ffd [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
96 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:1.1.3
97 ports:
98 - "8081:8081"
99 environment:
100 CONFIG_BINDING_SERVICE_SERVICE_HOST: $CBS_IP
101 CONFIG_BINDING_SERVICE_SERVICE_PORT: 10000
102 HOSTNAME: pmmapper
103 networks:
104 pmmapper-network:
105 ipv4_address: $PMMAPPER_IP
106 extra_hosts:
107 - "dmaap-dr-node:$DR_NODE_IP"
108 - "message-router:$NODE_IP"
109
110
111networks:
112 pmmapper-network:
113 driver: bridge
114 ipam:
115 config:
116 - subnet: 172.18.0.0/16
117