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