waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 1 | version: '3' |
| 2 | services: |
| 3 | ################################################################################ |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 4 | mariadb: |
| 5 | image: ${NEXUS_DOCKER_REPO_MSO}/mariadb:10.1.11 |
| 6 | ports: |
| 7 | - "3306:3306" |
| 8 | volumes: |
| 9 | - ${TEST_LAB_DIR}/volumes/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d |
| 10 | - ${TEST_LAB_DIR}/volumes/mariadb/conf.d:/etc/mysql/conf.d |
| 11 | environment: |
| 12 | - MYSQL_ROOT_PASSWORD=password |
| 13 | hostname: |
| 14 | mariadb.so.testlab.onap.org |
| 15 | logging: |
| 16 | driver: "json-file" |
| 17 | options: |
| 18 | max-size: "30m" |
| 19 | max-file: "5" |
| 20 | ################################################################################ |
| 21 | catalog-db-adapter: |
| 22 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/catalog-db-adapter:${TAG} |
| 23 | ports: |
| 24 | - "8082:8082" |
| 25 | volumes: |
| 26 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 27 | - ${TEST_LAB_DIR}/volumes/so/config/catalog-db-adapter/onapheat:/app/config |
| 28 | environment: |
| 29 | - APP=catalog-db-adapter |
| 30 | - JVM_ARGS=-Xms64m -Xmx512m |
| 31 | - DB_HOST=mariadb |
| 32 | - DB_PORT=3306 |
| 33 | - DB_USERNAME=so_user |
| 34 | - DB_PASSWORD=so_User123 |
| 35 | - DB_ADMIN_USERNAME=so_admin |
| 36 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 37 | hostname: |
| 38 | catalog-db-adapter.so.testlab.onap.org |
| 39 | depends_on: |
| 40 | - mariadb |
| 41 | logging: |
| 42 | driver: "json-file" |
| 43 | options: |
| 44 | max-size: "30m" |
| 45 | max-file: "5" |
| 46 | command: |
| 47 | - /app/wait-for.sh |
| 48 | - -q |
| 49 | - -t |
| 50 | - "300" |
| 51 | - mariadb:3306 |
| 52 | - -- |
| 53 | - "/app/start-app.sh" |
| 54 | ################################################################################ |
| 55 | request-db-adapter: |
| 56 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/request-db-adapter:${TAG} |
| 57 | ports: |
| 58 | - "8083:8083" |
| 59 | volumes: |
| 60 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 61 | - ${TEST_LAB_DIR}/volumes/so/config/request-db-adapter/onapheat:/app/config |
| 62 | environment: |
| 63 | - APP=request-db-adapter |
| 64 | - JVM_ARGS=-Xms64m -Xmx512m |
| 65 | - DB_HOST=mariadb |
| 66 | - DB_PORT=3306 |
| 67 | - DB_USERNAME=so_user |
| 68 | - DB_PASSWORD=so_User123 |
| 69 | - DB_ADMIN_USERNAME=so_admin |
| 70 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 71 | hostname: |
| 72 | request-db-adapter.so.testlab.onap.org |
| 73 | depends_on: |
| 74 | - mariadb |
| 75 | - catalog-db-adapter |
| 76 | logging: |
| 77 | driver: "json-file" |
| 78 | options: |
| 79 | max-size: "30m" |
| 80 | max-file: "5" |
| 81 | command: |
| 82 | - /app/wait-for.sh |
| 83 | - -q |
| 84 | - -t |
| 85 | - "300" |
| 86 | - catalog-db-adapter:8082 |
| 87 | - -- |
| 88 | - "/app/start-app.sh" |
| 89 | ################################################################################ |
| 90 | VNFM-adapter: |
| 91 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${TAG} |
| 92 | ports: |
| 93 | - "9092:9092" |
eHanan | 93a2837 | 2019-07-22 15:51:26 +0000 | [diff] [blame] | 94 | volumes: |
| 95 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 96 | - ${TEST_LAB_DIR}/volumes/so/config/vnfm-adapter/onapheat:/app/config |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 97 | environment: |
| 98 | - APP=VNFM-adapter |
| 99 | - JVM_ARGS=-Xms64m -Xmx512m |
| 100 | hostname: |
| 101 | vnfm-adapter-test |
| 102 | depends_on: |
| 103 | - request-db-adapter |
| 104 | logging: |
| 105 | driver: "json-file" |
| 106 | options: |
| 107 | max-size: "30m" |
| 108 | max-file: "5" |
| 109 | command: |
| 110 | - /app/wait-for.sh |
| 111 | - -q |
| 112 | - -t |
| 113 | - "300" |
| 114 | - request-db-adapter:8083 |
| 115 | - -- |
| 116 | - "/app/start-app.sh" |
| 117 | ################################################################################ |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 118 | sdc-simulator: |
| 119 | image: simulators/sdc-simulator:latest |
| 120 | ports: |
| 121 | - "9991:9991" |
| 122 | environment: |
| 123 | - APP=SDC-SIMULATOR |
| 124 | - JVM_ARGS=-Xms64m -Xmx512m |
| 125 | hostname: |
| 126 | sdc-simulator |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 127 | depends_on: |
| 128 | - mariadb |
| 129 | - VNFM-adapter |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 130 | logging: |
| 131 | driver: "json-file" |
| 132 | options: |
| 133 | max-size: "30m" |
| 134 | max-file: "5" |
| 135 | ################################################################################ |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 136 | workaround-config: |
| 137 | image: jobs/workaround-job-container:latest |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 138 | ports: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 139 | - "9990:9990" |
| 140 | volumes: |
| 141 | - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 142 | environment: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 143 | - MYSQL_ROOT_PASSWORD=password |
| 144 | - DB_HOST=mariadb |
| 145 | - DB_PORT=3306 |
| 146 | - CATALOG_DB=catalogdb |
| 147 | depends_on: |
| 148 | - mariadb |
| 149 | - VNFM-adapter |
eHanan | 93a2837 | 2019-07-22 15:51:26 +0000 | [diff] [blame] | 150 | command: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 151 | - "/config/apply-workarounds.sh" |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 152 | ################################################################################ |