Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 1 | version: '2.1' |
| 2 | services: |
| 3 | datarouter-prov: |
LiamBurke | 0cddbac | 2019-06-04 13:04:22 +0100 | [diff] [blame] | 4 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov:latest |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 5 | container_name: datarouter-prov |
| 6 | hostname: dmaap-dr-prov |
| 7 | ports: |
| 8 | - "443:8443" |
| 9 | - "8443:8443" |
| 10 | - "8080:8080" |
| 11 | volumes: |
LiamBurke | 1344ef2 | 2018-10-19 15:22:16 +0000 | [diff] [blame] | 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 |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 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 |
LiamBurke | 248195d | 2019-04-03 10:21:12 +0100 | [diff] [blame] | 23 | extra_hosts: |
| 24 | - "dmaap-dr-node:1.1.1.1" |
LiamBurke | ab2e098 | 2019-04-11 11:43:42 +0100 | [diff] [blame] | 25 | - "dcae-pm-mapper:3.3.3.3" |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 26 | |
| 27 | datarouter-node: |
LiamBurke | 0cddbac | 2019-06-04 13:04:22 +0100 | [diff] [blame] | 28 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:latest |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 29 | container_name: datarouter-node |
| 30 | hostname: dmaap-dr-node |
| 31 | ports: |
| 32 | - "9443:8443" |
| 33 | - "9090:8080" |
| 34 | volumes: |
LiamBurke | 1344ef2 | 2018-10-19 15:22:16 +0000 | [diff] [blame] | 35 | - ../node_data/node.properties:/opt/app/datartr/etc/node.properties |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 36 | depends_on: |
| 37 | datarouter-prov: |
| 38 | condition: service_healthy |
LiamBurke | 248195d | 2019-04-03 10:21:12 +0100 | [diff] [blame] | 39 | extra_hosts: |
| 40 | - "dmaap-dr-prov:2.2.2.2" |
LiamBurke | ab2e098 | 2019-04-11 11:43:42 +0100 | [diff] [blame] | 41 | - "dcae-pm-mapper:3.3.3.3" |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 42 | |
| 43 | datarouter-subscriber: |
LiamBurke | 0cddbac | 2019-06-04 13:04:22 +0100 | [diff] [blame] | 44 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-subscriber:latest |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 45 | container_name: fileconsumer-node |
| 46 | hostname: subscriber.com |
| 47 | ports: |
| 48 | - "7070:7070" |
| 49 | volumes: |
LiamBurke | 1344ef2 | 2018-10-19 15:22:16 +0000 | [diff] [blame] | 50 | - ../subscriber_data/subscriber.properties:/opt/app/subscriber/etc/subscriber.properties |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 51 | |
| 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 Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 77 | ves: |
| 78 | container_name: vescollector |
LiamBurke | 0cddbac | 2019-06-04 13:04:22 +0100 | [diff] [blame] | 79 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.4.4 |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 80 | environment: |
LiamBurke | 263fb74 | 2018-10-04 08:59:40 +0000 | [diff] [blame] | 81 | DMAAPHOST: |
LiamBurke | 3608af7 | 2019-03-12 22:50:33 +0000 | [diff] [blame] | 82 | |
LiamBurke | f8d0c2e | 2019-03-13 12:47:16 +0000 | [diff] [blame] | 83 | 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 | |
LiamBurke | 3608af7 | 2019-03-12 22:50:33 +0000 | [diff] [blame] | 91 | 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: |
LiamBurke | 248195d | 2019-04-03 10:21:12 +0100 | [diff] [blame] | 99 | CONSUL_HOST: |