rajendrajaiswal | 47b64d7 | 2019-02-06 16:09:24 +0000 | [diff] [blame] | 1 | version: '2.1' |
| 2 | services: |
| 3 | datarouter-prov: |
efiacor | 3d4b2a4 | 2019-10-11 17:03:25 +0100 | [diff] [blame] | 4 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov |
rajendrajaiswal | 47b64d7 | 2019-02-06 16:09:24 +0000 | [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: |
| 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 |
rajendrajaiswal | 37452e4 | 2019-04-02 08:40:58 +0000 | [diff] [blame] | 23 | extra_hosts: |
| 24 | - "dmaap-dr-node:1.1.1.1" |
rajendrajaiswal | 3b202f0 | 2019-04-09 10:37:49 +0000 | [diff] [blame] | 25 | - "dcae-pm-mapper:3.3.3.3" |
rajendrajaiswal | 47b64d7 | 2019-02-06 16:09:24 +0000 | [diff] [blame] | 26 | |
| 27 | datarouter-node: |
efiacor | 3d4b2a4 | 2019-10-11 17:03:25 +0100 | [diff] [blame] | 28 | image: nexus3.onap.org:10001/onap/dmaap/datarouter-node |
rajendrajaiswal | 47b64d7 | 2019-02-06 16:09:24 +0000 | [diff] [blame] | 29 | container_name: datarouter-node |
| 30 | hostname: dmaap-dr-node |
| 31 | ports: |
| 32 | - "9443:8443" |
| 33 | - "9090:8080" |
| 34 | volumes: |
| 35 | - ../node_data/node.properties:/opt/app/datartr/etc/node.properties |
| 36 | depends_on: |
| 37 | datarouter-prov: |
| 38 | condition: service_healthy |
rajendrajaiswal | 37452e4 | 2019-04-02 08:40:58 +0000 | [diff] [blame] | 39 | extra_hosts: |
| 40 | - "dmaap-dr-prov:2.2.2.2" |
rajendrajaiswal | 3b202f0 | 2019-04-09 10:37:49 +0000 | [diff] [blame] | 41 | - "dcae-pm-mapper:3.3.3.3" |
rajendrajaiswal | 47b64d7 | 2019-02-06 16:09:24 +0000 | [diff] [blame] | 42 | |
| 43 | mariadb_container: |
| 44 | image: mariadb:10.2.14 |
| 45 | container_name: mariadb |
| 46 | ports: |
| 47 | - "3306:3306" |
| 48 | environment: |
| 49 | MYSQL_ROOT_PASSWORD: datarouter |
| 50 | MYSQL_DATABASE: datarouter |
| 51 | MYSQL_USER: datarouter |
| 52 | MYSQL_PASSWORD: datarouter |
| 53 | healthcheck: |
| 54 | test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--silent"] |
| 55 | interval: 10s |
| 56 | timeout: 30s |
| 57 | retries: 5 |
| 58 | |
| 59 | consul: |
| 60 | container_name: consul |
| 61 | image: nexus3.onap.org:10001/consul:latest |
| 62 | |
| 63 | cbs: |
| 64 | container_name: cbs |
| 65 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:latest |
| 66 | environment: |
rajendrajaiswal | 37452e4 | 2019-04-02 08:40:58 +0000 | [diff] [blame] | 67 | CONSUL_HOST: |