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 | ################################################################################ |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 90 | vnfm-adapter: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 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: |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 98 | - APP=vnfm-adapter |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 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 |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 129 | - vnfm-adapter |
| 130 | logging: |
| 131 | driver: "json-file" |
| 132 | options: |
| 133 | max-size: "30m" |
| 134 | max-file: "5" |
| 135 | ################################################################################ |
| 136 | aai-simulator: |
| 137 | image: simulators/aai-simulator:latest |
| 138 | ports: |
| 139 | - "9993:9993" |
| 140 | environment: |
| 141 | - APP=AAI-SIMULATOR |
| 142 | - JVM_ARGS=-Xms64m -Xmx512m |
| 143 | hostname: |
| 144 | aai-simulator |
| 145 | depends_on: |
| 146 | - mariadb |
| 147 | - vnfm-adapter |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 148 | logging: |
| 149 | driver: "json-file" |
| 150 | options: |
| 151 | max-size: "30m" |
| 152 | max-file: "5" |
| 153 | ################################################################################ |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 154 | workaround-config: |
| 155 | image: jobs/workaround-job-container:latest |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 156 | ports: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 157 | - "9990:9990" |
| 158 | volumes: |
| 159 | - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 160 | environment: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 161 | - MYSQL_ROOT_PASSWORD=password |
| 162 | - DB_HOST=mariadb |
| 163 | - DB_PORT=3306 |
| 164 | - CATALOG_DB=catalogdb |
| 165 | depends_on: |
| 166 | - mariadb |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 167 | - vnfm-adapter |
eHanan | 93a2837 | 2019-07-22 15:51:26 +0000 | [diff] [blame] | 168 | command: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 169 | - "/config/apply-workarounds.sh" |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 170 | ################################################################################ |