blob: c972bd7a77b3a7246e7899dff842d0360f5d803a [file] [log] [blame]
rajendrajaiswal47b64d72019-02-06 16:09:24 +00001version: '2.1'
2services:
3 datarouter-prov:
rajendrajaiswal37452e42019-04-02 08:40:58 +00004 image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov:2.0.2-SNAPSHOT-latest
rajendrajaiswal47b64d72019-02-06 16:09:24 +00005 container_name: datarouter-prov
6 hostname: dmaap-dr-prov
7 ports:
8 - "443:8443"
9 - "8443:8443"
10 - "8080:8080"
11 volumes:
12 - ../prov_data/provserver.properties:/opt/app/datartr/etc/provserver.properties
13 - ../prov_data/addSubscriber.txt:/opt/app/datartr/addSubscriber.txt
14 - ../prov_data/addFeed3.txt:/opt/app/datartr/addFeed3.txt
15 depends_on:
16 mariadb_container:
17 condition: service_healthy
18 healthcheck:
19 test: ["CMD", "curl", "-f", "http://dmaap-dr-prov:8080/internal/prov"]
20 interval: 10s
21 timeout: 10s
22 retries: 5
rajendrajaiswal37452e42019-04-02 08:40:58 +000023 extra_hosts:
24 - "dmaap-dr-node:1.1.1.1"
25 - "dcae-pm-mapper.onap.svc.cluster.local:3.3.3.3"
rajendrajaiswal47b64d72019-02-06 16:09:24 +000026
27 datarouter-node:
rajendrajaiswal37452e42019-04-02 08:40:58 +000028 image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:2.0.2-SNAPSHOT-latest
rajendrajaiswal47b64d72019-02-06 16:09:24 +000029 container_name: datarouter-node
30 hostname: dmaap-dr-node
31 ports:
32 - "9443:8443"
33 - "9090:8080"
34 volumes:
35 - ../node_data/node.properties:/opt/app/datartr/etc/node.properties
36 depends_on:
37 datarouter-prov:
38 condition: service_healthy
rajendrajaiswal37452e42019-04-02 08:40:58 +000039 extra_hosts:
40 - "dmaap-dr-prov:2.2.2.2"
41 - "dcae-pm-mapper.onap.svc.cluster.local:3.3.3.3"
rajendrajaiswal47b64d72019-02-06 16:09:24 +000042
43 mariadb_container:
44 image: mariadb:10.2.14
45 container_name: mariadb
46 ports:
47 - "3306:3306"
48 environment:
49 MYSQL_ROOT_PASSWORD: datarouter
50 MYSQL_DATABASE: datarouter
51 MYSQL_USER: datarouter
52 MYSQL_PASSWORD: datarouter
53 healthcheck:
54 test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--silent"]
55 interval: 10s
56 timeout: 30s
57 retries: 5
58
59 consul:
60 container_name: consul
61 image: nexus3.onap.org:10001/consul:latest
62
63 cbs:
64 container_name: cbs
65 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:latest
66 environment:
rajendrajaiswal37452e42019-04-02 08:40:58 +000067 CONSUL_HOST: