blob: 99361d40ff7eae2d374810416a3ae8376346bf1a [file] [log] [blame]
rajendrajaiswal47b64d72019-02-06 16:09:24 +00001version: '2.1'
2services:
3 datarouter-prov:
JoeOLeary667bd592019-03-05 09:21:26 +00004 image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov:2.0.1
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
23
24 datarouter-node:
JoeOLeary667bd592019-03-05 09:21:26 +000025 image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:2.0.1
rajendrajaiswal47b64d72019-02-06 16:09:24 +000026 container_name: datarouter-node
27 hostname: dmaap-dr-node
28 ports:
29 - "9443:8443"
30 - "9090:8080"
31 volumes:
32 - ../node_data/node.properties:/opt/app/datartr/etc/node.properties
33 depends_on:
34 datarouter-prov:
35 condition: service_healthy
36
37 mariadb_container:
38 image: mariadb:10.2.14
39 container_name: mariadb
40 ports:
41 - "3306:3306"
42 environment:
43 MYSQL_ROOT_PASSWORD: datarouter
44 MYSQL_DATABASE: datarouter
45 MYSQL_USER: datarouter
46 MYSQL_PASSWORD: datarouter
47 healthcheck:
48 test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--silent"]
49 interval: 10s
50 timeout: 30s
51 retries: 5
52
53 consul:
54 container_name: consul
55 image: nexus3.onap.org:10001/consul:latest
56
57 cbs:
58 container_name: cbs
59 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:latest
60 environment:
61 CONSUL_HOST:
rajendrajaiswal8f0afd82019-02-11 12:30:26 +000062
63 buscontroller:
64 container_name: buscontroller
Gerard Hickeydbfda5d2019-03-20 10:53:28 +000065 image: nexus3.onap.org:10001/onap/dmaap/dmaap-bc:latest
rajendrajaiswal8f0afd82019-02-11 12:30:26 +000066 ports:
rajendrajaiswala1574702019-02-14 10:29:45 +000067 - "18080:8080"
68 - "18443:8443"
rajendrajaiswal8f0afd82019-02-11 12:30:26 +000069 extra_hosts:
JoeOLeary667bd592019-03-05 09:21:26 +000070 - "dmaap-dr-prov:DMAAPDR"
71 - "message-router:DMAAPMR"
rajendrajaiswala1574702019-02-14 10:29:45 +000072 volumes:
73 - /tmp/docker-databus-controller.conf:/opt/app/config/conf
74 depends_on:
75 - datarouter-prov