blob: 969d758190e38b9cb2cb992321f2c5885c051962 [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001version: '2.1'
2services:
3 datarouter-prov:
LiamBurke553875f2019-03-01 09:59:59 +00004 image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov:2.0.1
Gary Wu9abb61c2018-09-27 10:38:50 -07005 container_name: datarouter-prov
6 hostname: dmaap-dr-prov
7 ports:
8 - "443:8443"
9 - "8443:8443"
10 - "8080:8080"
11 volumes:
LiamBurke1344ef22018-10-19 15:22:16 +000012 - ../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
Gary Wu9abb61c2018-09-27 10:38:50 -070015 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:
LiamBurke553875f2019-03-01 09:59:59 +000025 image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:2.0.1
Gary Wu9abb61c2018-09-27 10:38:50 -070026 container_name: datarouter-node
27 hostname: dmaap-dr-node
28 ports:
29 - "9443:8443"
30 - "9090:8080"
31 volumes:
LiamBurke1344ef22018-10-19 15:22:16 +000032 - ../node_data/node.properties:/opt/app/datartr/etc/node.properties
Gary Wu9abb61c2018-09-27 10:38:50 -070033 depends_on:
34 datarouter-prov:
35 condition: service_healthy
36
37 datarouter-subscriber:
LiamBurke553875f2019-03-01 09:59:59 +000038 image: nexus3.onap.org:10001/onap/dmaap/datarouter-subscriber:2.0.1
Gary Wu9abb61c2018-09-27 10:38:50 -070039 container_name: fileconsumer-node
40 hostname: subscriber.com
41 ports:
42 - "7070:7070"
43 volumes:
LiamBurke1344ef22018-10-19 15:22:16 +000044 - ../subscriber_data/subscriber.properties:/opt/app/subscriber/etc/subscriber.properties
Gary Wu9abb61c2018-09-27 10:38:50 -070045
46 mariadb_container:
47 image: mariadb:10.2.14
48 container_name: mariadb
49 ports:
50 - "3306:3306"
51 environment:
52 MYSQL_ROOT_PASSWORD: datarouter
53 MYSQL_DATABASE: datarouter
54 MYSQL_USER: datarouter
55 MYSQL_PASSWORD: datarouter
56 healthcheck:
57 test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--silent"]
58 interval: 10s
59 timeout: 30s
60 retries: 5
61
62 sftp:
63 container_name: sftp
64 image: atmoz/sftp
65 ports:
66 - "2222:22"
67 volumes:
68 - /host/upload:/home/admin
69 command: admin:admin:1001
70
Gary Wu9abb61c2018-09-27 10:38:50 -070071 ves:
72 container_name: vescollector
LiamBurke330526b2019-03-19 09:46:20 +000073 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:latest
Gary Wu9abb61c2018-09-27 10:38:50 -070074 environment:
LiamBurke263fb742018-10-04 08:59:40 +000075 DMAAPHOST:
LiamBurke3608af72019-03-12 22:50:33 +000076
LiamBurkef8d0c2e2019-03-13 12:47:16 +000077 dfc:
78 container_name: dfc
79 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
80 ports:
81 - "8433:8433"
82 extra_hosts:
83 - "dmaap-dr-node:DR_NODE_IP"
84
LiamBurke3608af72019-03-12 22:50:33 +000085 consul:
86 container_name: consul
87 image: nexus3.onap.org:10001/consul:latest
88
89 cbs:
90 container_name: cbs
91 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:latest
92 environment:
93 CONSUL_HOST:
94
95 buscontroller:
96 container_name: buscontroller
97 image: nexus3.onap.org:10001/onap/dmaap/dmaap-bc:1.1.1
98 ports:
99 - "18080:8080"
100 - "18443:8443"
101 extra_hosts:
102 - "dmaap-dr-prov:DMAAPDR"
103 - "message-router:DMAAPMR"
104 volumes:
105 - /tmp/docker-databus-controller.conf:/opt/app/config/conf
106 depends_on:
LiamBurkef8d0c2e2019-03-13 12:47:16 +0000107 - datarouter-prov