blob: 86c5fe3b4ae493f0b61decb180de7ed1110f3ab0 [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001version: '2.1'
2services:
3 datarouter-prov:
LiamBurke6ca19602019-04-09 10:26:47 +01004 image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov:2.1.0-SNAPSHOT-latest
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
LiamBurke248195d2019-04-03 10:21:12 +010023 extra_hosts:
24 - "dmaap-dr-node:1.1.1.1"
Gary Wu9abb61c2018-09-27 10:38:50 -070025
26 datarouter-node:
LiamBurke6ca19602019-04-09 10:26:47 +010027 image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:2.1.0-SNAPSHOT-latest
Gary Wu9abb61c2018-09-27 10:38:50 -070028 container_name: datarouter-node
29 hostname: dmaap-dr-node
30 ports:
31 - "9443:8443"
32 - "9090:8080"
33 volumes:
LiamBurke1344ef22018-10-19 15:22:16 +000034 - ../node_data/node.properties:/opt/app/datartr/etc/node.properties
Gary Wu9abb61c2018-09-27 10:38:50 -070035 depends_on:
36 datarouter-prov:
37 condition: service_healthy
LiamBurke248195d2019-04-03 10:21:12 +010038 extra_hosts:
39 - "dmaap-dr-prov:2.2.2.2"
Gary Wu9abb61c2018-09-27 10:38:50 -070040
41 datarouter-subscriber:
LiamBurke6ca19602019-04-09 10:26:47 +010042 image: nexus3.onap.org:10001/onap/dmaap/datarouter-subscriber:2.1.0-SNAPSHOT-latest
Gary Wu9abb61c2018-09-27 10:38:50 -070043 container_name: fileconsumer-node
44 hostname: subscriber.com
45 ports:
46 - "7070:7070"
47 volumes:
LiamBurke1344ef22018-10-19 15:22:16 +000048 - ../subscriber_data/subscriber.properties:/opt/app/subscriber/etc/subscriber.properties
Gary Wu9abb61c2018-09-27 10:38:50 -070049
50 mariadb_container:
51 image: mariadb:10.2.14
52 container_name: mariadb
53 ports:
54 - "3306:3306"
55 environment:
56 MYSQL_ROOT_PASSWORD: datarouter
57 MYSQL_DATABASE: datarouter
58 MYSQL_USER: datarouter
59 MYSQL_PASSWORD: datarouter
60 healthcheck:
61 test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--silent"]
62 interval: 10s
63 timeout: 30s
64 retries: 5
65
66 sftp:
67 container_name: sftp
68 image: atmoz/sftp
69 ports:
70 - "2222:22"
71 volumes:
72 - /host/upload:/home/admin
73 command: admin:admin:1001
74
Gary Wu9abb61c2018-09-27 10:38:50 -070075 ves:
76 container_name: vescollector
LiamBurke330526b2019-03-19 09:46:20 +000077 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:latest
Gary Wu9abb61c2018-09-27 10:38:50 -070078 environment:
LiamBurke263fb742018-10-04 08:59:40 +000079 DMAAPHOST:
LiamBurke3608af72019-03-12 22:50:33 +000080
LiamBurkef8d0c2e2019-03-13 12:47:16 +000081 dfc:
82 container_name: dfc
83 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
84 ports:
85 - "8433:8433"
86 extra_hosts:
87 - "dmaap-dr-node:DR_NODE_IP"
88
LiamBurke3608af72019-03-12 22:50:33 +000089 consul:
90 container_name: consul
91 image: nexus3.onap.org:10001/consul:latest
92
93 cbs:
94 container_name: cbs
95 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:latest
96 environment:
LiamBurke248195d2019-04-03 10:21:12 +010097 CONSUL_HOST: