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 | ################################################################################ |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 90 | sdnc-adapter: |
| 91 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdnc-adapter:${TAG} |
| 92 | ports: |
| 93 | - "8086:8086" |
| 94 | volumes: |
| 95 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 96 | - ${TEST_LAB_DIR}/volumes/so/config/sdnc-adapter/onapheat:/app/config |
| 97 | environment: |
| 98 | - APP=sdnc-adapter |
| 99 | - JVM_ARGS=-Xms64m -Xmx512m |
| 100 | - DB_HOST=mariadb |
| 101 | - DB_PORT=3306 |
| 102 | - DB_USERNAME=so_user |
| 103 | - DB_PASSWORD=so_User123 |
| 104 | - DB_ADMIN_USERNAME=so_admin |
| 105 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 106 | hostname: |
| 107 | sdnc-adapter.so.testlab.onap.org |
| 108 | depends_on: |
| 109 | - mariadb |
| 110 | - catalog-db-adapter |
| 111 | - request-db-adapter |
| 112 | logging: |
| 113 | driver: "json-file" |
| 114 | options: |
| 115 | max-size: "30m" |
| 116 | max-file: "5" |
| 117 | command: |
| 118 | - /app/wait-for.sh |
| 119 | - -q |
| 120 | - -t |
| 121 | - "300" |
| 122 | - request-db-adapter:8083 |
| 123 | - -- |
| 124 | - "/app/start-app.sh" |
| 125 | ################################################################################ |
| 126 | sdc-controller: |
| 127 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdc-controller:${TAG} |
| 128 | ports: |
| 129 | - "8085:8085" |
| 130 | volumes: |
| 131 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 132 | - ${TEST_LAB_DIR}/volumes/so/config/sdc-controller/onapheat:/app/config |
| 133 | - ${CONFIG_DIR_PATH}/distribution-test-zip/distributionTestZip.zip:/distribution-test-zip/distributionTestZip.zip |
| 134 | environment: |
| 135 | - APP=sdc-controller |
| 136 | - JVM_ARGS=-Xms64m -Xmx512m |
| 137 | - DB_HOST=mariadb |
| 138 | - DB_PORT=3306 |
| 139 | - DB_USERNAME=so_user |
| 140 | - DB_PASSWORD=so_User123 |
| 141 | - DB_ADMIN_USERNAME=so_admin |
| 142 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 143 | hostname: |
| 144 | sdc-controller.so.testlab.onap.org |
| 145 | depends_on: |
| 146 | - mariadb |
| 147 | - catalog-db-adapter |
| 148 | - request-db-adapter |
| 149 | logging: |
| 150 | driver: "json-file" |
| 151 | options: |
| 152 | max-size: "30m" |
| 153 | max-file: "5" |
| 154 | command: |
| 155 | - /bin/sh |
| 156 | - -c |
| 157 | - 'mkdir -p /distribution-test-zip/unzipped && unzip /distribution-test-zip/distributionTestZip.zip -d /distribution-test-zip/unzipped && /app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' |
| 158 | ################################################################################ |
| 159 | bpmn-infra: |
| 160 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/bpmn-infra:${TAG} |
| 161 | ports: |
| 162 | - "8081:8081" |
| 163 | volumes: |
| 164 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 165 | - ${TEST_LAB_DIR}/volumes/so/config/bpmn-infra/onapheat:/app/config |
| 166 | environment: |
| 167 | - APP=bpmn-infra |
| 168 | - JVM_ARGS=-Xms64m -Xmx512m |
| 169 | - DB_HOST=mariadb |
| 170 | - DB_PORT=3306 |
| 171 | - DB_USERNAME=so_user |
| 172 | - DB_PASSWORD=so_User123 |
| 173 | - DB_ADMIN_USERNAME=so_admin |
| 174 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 175 | hostname: |
| 176 | bpmn-infra.so.testlab.onap.org |
| 177 | depends_on: |
| 178 | - mariadb |
| 179 | - catalog-db-adapter |
| 180 | - request-db-adapter |
| 181 | logging: |
| 182 | driver: "json-file" |
| 183 | options: |
| 184 | max-size: "30m" |
| 185 | max-file: "5" |
| 186 | command: |
| 187 | - /app/wait-for.sh |
| 188 | - -q |
| 189 | - -t |
| 190 | - "300" |
| 191 | - request-db-adapter:8083 |
| 192 | - -- |
| 193 | - "/app/start-app.sh" |
| 194 | ################################################################################ |
| 195 | api-handler-infra: |
| 196 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG} |
| 197 | ports: |
| 198 | - "8080:8080" |
| 199 | volumes: |
| 200 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 201 | - ${TEST_LAB_DIR}/volumes/so/config/api-handler-infra/onapheat:/app/config |
| 202 | environment: |
| 203 | - APP=api-handler-infra |
| 204 | - JVM_ARGS=-Xms64m -Xmx512m |
| 205 | - DB_HOST=mariadb |
| 206 | - DB_PORT=3306 |
| 207 | - DB_USERNAME=so_user |
| 208 | - DB_PASSWORD=so_User123 |
| 209 | - DB_ADMIN_USERNAME=so_admin |
| 210 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 211 | hostname: |
| 212 | api-handler-infra.so.testlab.onap.org |
| 213 | depends_on: |
| 214 | - mariadb |
| 215 | - catalog-db-adapter |
| 216 | - request-db-adapter |
| 217 | logging: |
| 218 | driver: "json-file" |
| 219 | options: |
| 220 | max-size: "30m" |
| 221 | max-file: "5" |
| 222 | command: |
| 223 | - /app/wait-for.sh |
| 224 | - -q |
| 225 | - -t |
| 226 | - "300" |
| 227 | - request-db-adapter:8083 |
| 228 | - -- |
| 229 | - "/app/start-app.sh" |
| 230 | ############################################################################# |
| 231 | so-monitoring: |
| 232 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-monitoring:${TAG} |
| 233 | ports: |
| 234 | - "30224:9091" |
| 235 | volumes: |
| 236 | - ${TEST_LAB_DIR}/volumes/so/config/api-handler-infra/onapheat:/app/config |
| 237 | environment: |
| 238 | - APP=so-monitoring |
| 239 | - JVM_ARGS=-Xms64m -Xmx512m |
| 240 | hostname: |
| 241 | so-monitoring.so.testlab.onap.org |
| 242 | depends_on: |
| 243 | - mariadb |
| 244 | - catalog-db-adapter |
| 245 | - request-db-adapter |
| 246 | ################################################################################ |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 247 | vnfm-adapter: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 248 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${TAG} |
| 249 | ports: |
| 250 | - "9092:9092" |
eHanan | 93a2837 | 2019-07-22 15:51:26 +0000 | [diff] [blame] | 251 | volumes: |
| 252 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 253 | - ${TEST_LAB_DIR}/volumes/so/config/vnfm-adapter/onapheat:/app/config |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 254 | environment: |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 255 | - APP=vnfm-adapter |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 256 | - JVM_ARGS=-Xms64m -Xmx512m |
| 257 | hostname: |
| 258 | vnfm-adapter-test |
| 259 | depends_on: |
| 260 | - request-db-adapter |
| 261 | logging: |
| 262 | driver: "json-file" |
| 263 | options: |
| 264 | max-size: "30m" |
| 265 | max-file: "5" |
| 266 | command: |
| 267 | - /app/wait-for.sh |
| 268 | - -q |
| 269 | - -t |
| 270 | - "300" |
| 271 | - request-db-adapter:8083 |
| 272 | - -- |
| 273 | - "/app/start-app.sh" |
| 274 | ################################################################################ |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 275 | sdc-simulator: |
| 276 | image: simulators/sdc-simulator:latest |
| 277 | ports: |
| 278 | - "9991:9991" |
| 279 | environment: |
| 280 | - APP=SDC-SIMULATOR |
| 281 | - JVM_ARGS=-Xms64m -Xmx512m |
| 282 | hostname: |
| 283 | sdc-simulator |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 284 | depends_on: |
| 285 | - mariadb |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 286 | - vnfm-adapter |
| 287 | logging: |
| 288 | driver: "json-file" |
| 289 | options: |
| 290 | max-size: "30m" |
| 291 | max-file: "5" |
| 292 | ################################################################################ |
| 293 | aai-simulator: |
| 294 | image: simulators/aai-simulator:latest |
| 295 | ports: |
| 296 | - "9993:9993" |
| 297 | environment: |
| 298 | - APP=AAI-SIMULATOR |
| 299 | - JVM_ARGS=-Xms64m -Xmx512m |
| 300 | hostname: |
| 301 | aai-simulator |
| 302 | depends_on: |
| 303 | - mariadb |
| 304 | - vnfm-adapter |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 305 | logging: |
| 306 | driver: "json-file" |
| 307 | options: |
| 308 | max-size: "30m" |
| 309 | max-file: "5" |
| 310 | ################################################################################ |
AndrewLamb | 70095ba | 2019-07-31 11:56:33 +0000 | [diff] [blame] | 311 | vnfm-simulator: |
| 312 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-simulator:${TAG} |
| 313 | ports: |
| 314 | - "9093:9093" |
| 315 | environment: |
| 316 | - APP=VNFM-SIMULATOR |
| 317 | - JVM_ARGS=-Xms64m -Xmx512m |
| 318 | hostname: |
| 319 | vnfm-simulator |
| 320 | depends_on: |
| 321 | - mariadb |
| 322 | - vnfm-adapter |
| 323 | logging: |
| 324 | driver: "json-file" |
| 325 | options: |
| 326 | max-size: "30m" |
| 327 | max-file: "5" |
| 328 | ################################################################################ |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 329 | workaround-config: |
| 330 | image: jobs/workaround-job-container:latest |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 331 | ports: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 332 | - "9990:9990" |
| 333 | volumes: |
| 334 | - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 335 | environment: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 336 | - MYSQL_ROOT_PASSWORD=password |
| 337 | - DB_HOST=mariadb |
| 338 | - DB_PORT=3306 |
| 339 | - CATALOG_DB=catalogdb |
| 340 | depends_on: |
| 341 | - mariadb |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 342 | - vnfm-adapter |
eHanan | 93a2837 | 2019-07-22 15:51:26 +0000 | [diff] [blame] | 343 | command: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 344 | - "/config/apply-workarounds.sh" |
rope252 | 1537edf | 2019-07-25 16:04:10 +0000 | [diff] [blame] | 345 | ################################################################################# |
waqas.ikram | 2480541 | 2019-08-01 16:19:31 +0000 | [diff] [blame] | 346 | sdnc-simulator: |
| 347 | image: simulators/sdnc-simulator:latest |
| 348 | ports: |
| 349 | - "9994:9994" |
| 350 | environment: |
| 351 | - APP=SDNC-SIMULATOR |
| 352 | - JVM_ARGS=-Xms64m -Xmx512m |
| 353 | hostname: |
| 354 | sdnc-simulator |
| 355 | depends_on: |
| 356 | - mariadb |
| 357 | - vnfm-adapter |
| 358 | logging: |
| 359 | driver: "json-file" |
| 360 | options: |
| 361 | max-size: "30m" |
| 362 | max-file: "5" |
| 363 | ################################################################################ |
waqas.ikram | a5aeeda | 2019-08-07 16:03:14 +0000 | [diff] [blame] | 364 | populate-aai-config: |
| 365 | image: jobs/workaround-job-container:latest |
| 366 | ports: |
| 367 | - "9995:9995" |
| 368 | volumes: |
| 369 | - ${CONFIG_DIR_PATH}/populate-aai-simulator.sh:/config/populate-aai-simulator.sh |
| 370 | - ${CONFIG_DIR_PATH}/wait-for.sh:/config/wait-for.sh |
| 371 | - ${CONFIG_DIR_PATH}/aai-simulator-populate-data:/config/aai-simulator-populate-data/ |
| 372 | environment: |
| 373 | - AAI_SIMULATOR_HOST=aai-simulator |
| 374 | - AAI_SIMULATOR_PORT=9993 |
| 375 | - TIMEOUT_IN_SECONDS=300 #5 mins |
| 376 | depends_on: |
| 377 | - aai-simulator |
| 378 | command: |
| 379 | - "/config/populate-aai-simulator.sh" |
| 380 | ################################################################################ |