BjornMagnussonXA | 56683ca | 2022-04-04 17:17:22 +0200 | [diff] [blame] | 1 | version: '3.3' |
| 2 | |
| 3 | services: |
| 4 | datarouter-prov: |
| 5 | image: nexus3.onap.org:10003/onap/dmaap/datarouter-prov:2.1.10-STAGING-latest |
| 6 | container_name: datarouter-prov |
| 7 | hostname: dmaap-dr-prov |
| 8 | ports: |
| 9 | - "443:8443" |
| 10 | - "8543:8443" |
| 11 | - "8480:8080" |
| 12 | volumes: |
| 13 | - ./dr-mount/provserver.properties:/opt/app/datartr/etc/provserver.properties |
| 14 | depends_on: |
| 15 | - mariadb |
| 16 | healthcheck: |
| 17 | test: ["CMD", "curl", "-f", "http://dmaap-dr-prov:8080/internal/prov"] |
| 18 | interval: 10s |
| 19 | timeout: 10s |
| 20 | retries: 5 |
| 21 | networks: |
| 22 | - smo |
| 23 | labels: |
| 24 | - "pmflowtest=cont" |
| 25 | |
| 26 | datarouter-node: |
| 27 | image: nexus3.onap.org:10003/onap/dmaap/datarouter-node:2.1.10-STAGING-latest |
| 28 | container_name: datarouter-node |
| 29 | hostname: dmaap-dr-node |
| 30 | ports: |
| 31 | - "9443:8443" |
| 32 | - "9090:8080" |
| 33 | volumes: |
| 34 | - ./dr-mount/node.properties:/opt/app/datartr/etc/node.properties |
| 35 | depends_on: |
| 36 | - datarouter-prov |
| 37 | networks: |
| 38 | - smo |
| 39 | labels: |
| 40 | - "pmflowtest=cont" |
| 41 | |
| 42 | mariadb: |
| 43 | image: nexus3.onap.org:10001/mariadb:10.2.14 |
| 44 | container_name: mariadb |
| 45 | ports: |
| 46 | - "3306:3306" |
| 47 | environment: |
| 48 | MYSQL_ROOT_PASSWORD: datarouter |
| 49 | MYSQL_DATABASE: datarouter |
| 50 | MYSQL_USER: datarouter |
| 51 | MYSQL_PASSWORD: datarouter |
| 52 | healthcheck: |
| 53 | test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--silent"] |
| 54 | interval: 10s |
| 55 | timeout: 30s |
| 56 | retries: 5 |
| 57 | networks: |
| 58 | - smo |
| 59 | labels: |
| 60 | - "pmflowtest=cont" |
| 61 | |
| 62 | pmmapper: |
| 63 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:1.8.0 |
| 64 | container_name: pmmapper |
| 65 | ports: |
| 66 | - "8281:8081" |
| 67 | volumes: |
| 68 | - type: bind |
| 69 | source: ./pmmapper/certs |
| 70 | target: /opt/app/pm-mapper/etc/certs/ |
| 71 | - type: bind |
| 72 | source: ./pmmapper/mount_config.yaml |
| 73 | target: /app-config/application_config.yaml |
| 74 | environment: |
| 75 | CONFIG_BINDING_SERVICE: 127.0.0.1 |
| 76 | CONFIG_BINDING_SERVICE_SERVICE_PORT: 10000 |
| 77 | CBS_CLIENT_CONFIG_PATH: /app-config/application_config.yaml |
| 78 | PROCESSING_LIMIT_RATE: 1 |
| 79 | THREADS_MULTIPLIER: 1 |
| 80 | PROCESSING_THREADS_COUNT: 1 |
| 81 | networks: |
| 82 | - smo |
| 83 | labels: |
| 84 | - "pmflowtest=cont" |
| 85 | |
| 86 | networks: |
| 87 | smo: |
| 88 | external: true |
| 89 | |