Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 1 | version: '2.1' |
| 2 | services: |
| 3 | datarouter-prov: |
econwar | 161a243 | 2019-03-27 11:08:21 +0000 | [diff] [blame^] | 4 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov:2.0.2-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 |
| 23 | |
| 24 | datarouter-node: |
econwar | 161a243 | 2019-03-27 11:08:21 +0000 | [diff] [blame^] | 25 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:2.0.2-SNAPSHOT-latest |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 26 | container_name: datarouter-node |
| 27 | hostname: dmaap-dr-node |
| 28 | ports: |
| 29 | - "9443:8443" |
| 30 | - "9090:8080" |
| 31 | volumes: |
LiamBurke | 1344ef2 | 2018-10-19 15:22:16 +0000 | [diff] [blame] | 32 | - ../node_data/node.properties:/opt/app/datartr/etc/node.properties |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 33 | depends_on: |
| 34 | datarouter-prov: |
| 35 | condition: service_healthy |
| 36 | |
| 37 | datarouter-subscriber: |
econwar | 161a243 | 2019-03-27 11:08:21 +0000 | [diff] [blame^] | 38 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-subscriber:2.0.2-SNAPSHOT-latest |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 39 | container_name: fileconsumer-node |
| 40 | hostname: subscriber.com |
| 41 | ports: |
| 42 | - "7070:7070" |
| 43 | volumes: |
LiamBurke | 1344ef2 | 2018-10-19 15:22:16 +0000 | [diff] [blame] | 44 | - ../subscriber_data/subscriber.properties:/opt/app/subscriber/etc/subscriber.properties |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 45 | |
| 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 | |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 71 | ves: |
| 72 | container_name: vescollector |
LiamBurke | 330526b | 2019-03-19 09:46:20 +0000 | [diff] [blame] | 73 | 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] | 74 | environment: |
LiamBurke | 263fb74 | 2018-10-04 08:59:40 +0000 | [diff] [blame] | 75 | DMAAPHOST: |
LiamBurke | 3608af7 | 2019-03-12 22:50:33 +0000 | [diff] [blame] | 76 | |
LiamBurke | f8d0c2e | 2019-03-13 12:47:16 +0000 | [diff] [blame] | 77 | dfc: |
| 78 | container_name: dfc |
| 79 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest |
| 80 | ports: |
| 81 | - "8433:8433" |
| 82 | extra_hosts: |
| 83 | - "dmaap-dr-node:DR_NODE_IP" |
| 84 | |
LiamBurke | 3608af7 | 2019-03-12 22:50:33 +0000 | [diff] [blame] | 85 | consul: |
| 86 | container_name: consul |
| 87 | image: nexus3.onap.org:10001/consul:latest |
| 88 | |
| 89 | cbs: |
| 90 | container_name: cbs |
| 91 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:latest |
| 92 | environment: |
| 93 | CONSUL_HOST: |
| 94 | |
| 95 | buscontroller: |
| 96 | container_name: buscontroller |
LiamBurke | 6599fb6 | 2019-03-20 10:12:22 +0000 | [diff] [blame] | 97 | image: nexus3.onap.org:10001/onap/dmaap/dmaap-bc:latest |
LiamBurke | 3608af7 | 2019-03-12 22:50:33 +0000 | [diff] [blame] | 98 | ports: |
| 99 | - "18080:8080" |
| 100 | - "18443:8443" |
| 101 | extra_hosts: |
| 102 | - "dmaap-dr-prov:DMAAPDR" |
| 103 | - "message-router:DMAAPMR" |
| 104 | volumes: |
| 105 | - /tmp/docker-databus-controller.conf:/opt/app/config/conf |
| 106 | depends_on: |
LiamBurke | f8d0c2e | 2019-03-13 12:47:16 +0000 | [diff] [blame] | 107 | - datarouter-prov |