Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 1 | version: '2.1' |
| 2 | services: |
| 3 | datarouter-prov: |
| 4 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov |
| 5 | container_name: datarouter-prov |
| 6 | hostname: dmaap-dr-prov |
| 7 | ports: |
| 8 | - "443:8443" |
| 9 | - "8443:8443" |
| 10 | - "8080:8080" |
| 11 | volumes: |
| 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 |
| 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: |
| 25 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-node |
| 26 | container_name: datarouter-node |
| 27 | hostname: dmaap-dr-node |
| 28 | ports: |
| 29 | - "9443:8443" |
| 30 | - "9090:8080" |
| 31 | volumes: |
| 32 | - ./node_data/node.properties:/opt/app/datartr/etc/node.properties |
| 33 | depends_on: |
| 34 | datarouter-prov: |
| 35 | condition: service_healthy |
| 36 | |
| 37 | datarouter-subscriber: |
| 38 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-subscriber |
| 39 | container_name: fileconsumer-node |
| 40 | hostname: subscriber.com |
| 41 | ports: |
| 42 | - "7070:7070" |
| 43 | volumes: |
| 44 | - ./subscriber_data/subscriber.properties:/opt/app/subscriber/etc/subscriber.properties |
| 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 | |
| 71 | dfc: |
| 72 | container_name: dfc |
| 73 | image: quay.io/martin_yan_seu/datafile |
| 74 | ports: |
| 75 | - "8433:8433" |
| 76 | |
| 77 | ves: |
| 78 | container_name: vescollector |
rajendrajaiswal | b99eedc | 2018-10-02 09:42:23 +0100 | [diff] [blame^] | 79 | 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] | 80 | environment: |
| 81 | DMAAPHOST: |