blob: 7880656b990c7838348e7b756aa2bcbe51fed00c [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"
LiamBurkeab2e0982019-04-11 11:43:42 +010025 - "dcae-pm-mapper:3.3.3.3"
Gary Wu9abb61c2018-09-27 10:38:50 -070026
27 datarouter-node:
LiamBurke6ca19602019-04-09 10:26:47 +010028 image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:2.1.0-SNAPSHOT-latest
Gary Wu9abb61c2018-09-27 10:38:50 -070029 container_name: datarouter-node
30 hostname: dmaap-dr-node
31 ports:
32 - "9443:8443"
33 - "9090:8080"
34 volumes:
LiamBurke1344ef22018-10-19 15:22:16 +000035 - ../node_data/node.properties:/opt/app/datartr/etc/node.properties
Gary Wu9abb61c2018-09-27 10:38:50 -070036 depends_on:
37 datarouter-prov:
38 condition: service_healthy
LiamBurke248195d2019-04-03 10:21:12 +010039 extra_hosts:
40 - "dmaap-dr-prov:2.2.2.2"
LiamBurkeab2e0982019-04-11 11:43:42 +010041 - "dcae-pm-mapper:3.3.3.3"
Gary Wu9abb61c2018-09-27 10:38:50 -070042
43 datarouter-subscriber:
LiamBurke6ca19602019-04-09 10:26:47 +010044 image: nexus3.onap.org:10001/onap/dmaap/datarouter-subscriber:2.1.0-SNAPSHOT-latest
Gary Wu9abb61c2018-09-27 10:38:50 -070045 container_name: fileconsumer-node
46 hostname: subscriber.com
47 ports:
48 - "7070:7070"
49 volumes:
LiamBurke1344ef22018-10-19 15:22:16 +000050 - ../subscriber_data/subscriber.properties:/opt/app/subscriber/etc/subscriber.properties
Gary Wu9abb61c2018-09-27 10:38:50 -070051
52 mariadb_container:
53 image: mariadb:10.2.14
54 container_name: mariadb
55 ports:
56 - "3306:3306"
57 environment:
58 MYSQL_ROOT_PASSWORD: datarouter
59 MYSQL_DATABASE: datarouter
60 MYSQL_USER: datarouter
61 MYSQL_PASSWORD: datarouter
62 healthcheck:
63 test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--silent"]
64 interval: 10s
65 timeout: 30s
66 retries: 5
67
68 sftp:
69 container_name: sftp
70 image: atmoz/sftp
71 ports:
72 - "2222:22"
73 volumes:
74 - /host/upload:/home/admin
75 command: admin:admin:1001
76
Gary Wu9abb61c2018-09-27 10:38:50 -070077 ves:
78 container_name: vescollector
LiamBurke330526b2019-03-19 09:46:20 +000079 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:latest
Gary Wu9abb61c2018-09-27 10:38:50 -070080 environment:
LiamBurke263fb742018-10-04 08:59:40 +000081 DMAAPHOST:
LiamBurke3608af72019-03-12 22:50:33 +000082
LiamBurkef8d0c2e2019-03-13 12:47:16 +000083 dfc:
84 container_name: dfc
85 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
86 ports:
87 - "8433:8433"
88 extra_hosts:
89 - "dmaap-dr-node:DR_NODE_IP"
90
LiamBurke3608af72019-03-12 22:50:33 +000091 consul:
92 container_name: consul
93 image: nexus3.onap.org:10001/consul:latest
94
95 cbs:
96 container_name: cbs
97 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:latest
98 environment:
LiamBurke248195d2019-04-03 10:21:12 +010099 CONSUL_HOST: