blob: d90f7b4d02cba40d0c34b596378aeec328f05908 [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
71 dfc:
72 container_name: dfc
LiamBurke553875f2019-03-01 09:59:59 +000073 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
Gary Wu9abb61c2018-09-27 10:38:50 -070074 ports:
75 - "8433:8433"
76
77 ves:
78 container_name: vescollector
LiamBurke7f5c0af2019-02-28 17:23:34 +000079 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.4.1
Gary Wu9abb61c2018-09-27 10:38:50 -070080 environment:
LiamBurke263fb742018-10-04 08:59:40 +000081 DMAAPHOST: