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 |
waqas.ikram | cb3218e | 2019-08-22 10:25:24 +0000 | [diff] [blame] | 165 | - ${CONFIG_DIR_PATH}/override-files/bpmn-infra/onapheat:/app/config |
| 166 | - ${CONFIG_DIR_PATH}/certificates/aai-certificate/aai.crt:/app/ca-certificates/aai.crt |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 167 | environment: |
| 168 | - APP=bpmn-infra |
| 169 | - JVM_ARGS=-Xms64m -Xmx512m |
| 170 | - DB_HOST=mariadb |
| 171 | - DB_PORT=3306 |
| 172 | - DB_USERNAME=so_user |
| 173 | - DB_PASSWORD=so_User123 |
| 174 | - DB_ADMIN_USERNAME=so_admin |
| 175 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 176 | hostname: |
| 177 | bpmn-infra.so.testlab.onap.org |
| 178 | depends_on: |
| 179 | - mariadb |
| 180 | - catalog-db-adapter |
| 181 | - request-db-adapter |
| 182 | logging: |
| 183 | driver: "json-file" |
| 184 | options: |
| 185 | max-size: "30m" |
| 186 | max-file: "5" |
| 187 | command: |
| 188 | - /app/wait-for.sh |
| 189 | - -q |
| 190 | - -t |
| 191 | - "300" |
| 192 | - request-db-adapter:8083 |
| 193 | - -- |
| 194 | - "/app/start-app.sh" |
| 195 | ################################################################################ |
| 196 | api-handler-infra: |
| 197 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG} |
| 198 | ports: |
| 199 | - "8080:8080" |
| 200 | volumes: |
| 201 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 202 | - ${TEST_LAB_DIR}/volumes/so/config/api-handler-infra/onapheat:/app/config |
| 203 | environment: |
| 204 | - APP=api-handler-infra |
| 205 | - JVM_ARGS=-Xms64m -Xmx512m |
| 206 | - DB_HOST=mariadb |
| 207 | - DB_PORT=3306 |
| 208 | - DB_USERNAME=so_user |
| 209 | - DB_PASSWORD=so_User123 |
| 210 | - DB_ADMIN_USERNAME=so_admin |
| 211 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 212 | hostname: |
| 213 | api-handler-infra.so.testlab.onap.org |
| 214 | depends_on: |
| 215 | - mariadb |
| 216 | - catalog-db-adapter |
| 217 | - request-db-adapter |
| 218 | logging: |
| 219 | driver: "json-file" |
| 220 | options: |
| 221 | max-size: "30m" |
| 222 | max-file: "5" |
| 223 | command: |
| 224 | - /app/wait-for.sh |
| 225 | - -q |
| 226 | - -t |
| 227 | - "300" |
| 228 | - request-db-adapter:8083 |
| 229 | - -- |
| 230 | - "/app/start-app.sh" |
| 231 | ############################################################################# |
| 232 | so-monitoring: |
| 233 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-monitoring:${TAG} |
| 234 | ports: |
eHanan | 75c1171 | 2019-08-13 15:44:16 +0000 | [diff] [blame] | 235 | - "30224:30224" |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 236 | volumes: |
eHanan | 319d0ad | 2019-09-03 13:45:18 +0000 | [diff] [blame] | 237 | - ${CONFIG_DIR_PATH}/override-files/so-monitoring/onapheat:/app/config |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 238 | environment: |
| 239 | - APP=so-monitoring |
| 240 | - JVM_ARGS=-Xms64m -Xmx512m |
| 241 | hostname: |
| 242 | so-monitoring.so.testlab.onap.org |
| 243 | depends_on: |
| 244 | - mariadb |
| 245 | - catalog-db-adapter |
| 246 | - request-db-adapter |
| 247 | ################################################################################ |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 248 | vnfm-adapter: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 249 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${TAG} |
| 250 | ports: |
| 251 | - "9092:9092" |
eHanan | 93a2837 | 2019-07-22 15:51:26 +0000 | [diff] [blame] | 252 | volumes: |
| 253 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
eHanan | 319d0ad | 2019-09-03 13:45:18 +0000 | [diff] [blame] | 254 | - ${CONFIG_DIR_PATH}/override-files/vnfm-adapter/onapheat:/app/config |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 255 | environment: |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 256 | - APP=vnfm-adapter |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 257 | - JVM_ARGS=-Xms64m -Xmx512m |
| 258 | hostname: |
| 259 | vnfm-adapter-test |
| 260 | depends_on: |
| 261 | - request-db-adapter |
| 262 | logging: |
| 263 | driver: "json-file" |
| 264 | options: |
| 265 | max-size: "30m" |
| 266 | max-file: "5" |
| 267 | command: |
| 268 | - /app/wait-for.sh |
| 269 | - -q |
| 270 | - -t |
| 271 | - "300" |
| 272 | - request-db-adapter:8083 |
| 273 | - -- |
| 274 | - "/app/start-app.sh" |
| 275 | ################################################################################ |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 276 | sdc-simulator: |
| 277 | image: simulators/sdc-simulator:latest |
| 278 | ports: |
| 279 | - "9991:9991" |
| 280 | environment: |
| 281 | - APP=SDC-SIMULATOR |
| 282 | - JVM_ARGS=-Xms64m -Xmx512m |
| 283 | hostname: |
| 284 | sdc-simulator |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 285 | depends_on: |
| 286 | - mariadb |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 287 | - vnfm-adapter |
| 288 | logging: |
| 289 | driver: "json-file" |
| 290 | options: |
| 291 | max-size: "30m" |
| 292 | max-file: "5" |
| 293 | ################################################################################ |
| 294 | aai-simulator: |
| 295 | image: simulators/aai-simulator:latest |
| 296 | ports: |
| 297 | - "9993:9993" |
| 298 | environment: |
| 299 | - APP=AAI-SIMULATOR |
| 300 | - JVM_ARGS=-Xms64m -Xmx512m |
| 301 | hostname: |
| 302 | aai-simulator |
| 303 | depends_on: |
| 304 | - mariadb |
| 305 | - vnfm-adapter |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 306 | logging: |
| 307 | driver: "json-file" |
| 308 | options: |
| 309 | max-size: "30m" |
| 310 | max-file: "5" |
| 311 | ################################################################################ |
AndrewLamb | 70095ba | 2019-07-31 11:56:33 +0000 | [diff] [blame] | 312 | vnfm-simulator: |
| 313 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-simulator:${TAG} |
| 314 | ports: |
| 315 | - "9093:9093" |
| 316 | environment: |
| 317 | - APP=VNFM-SIMULATOR |
| 318 | - JVM_ARGS=-Xms64m -Xmx512m |
| 319 | hostname: |
| 320 | vnfm-simulator |
| 321 | depends_on: |
| 322 | - mariadb |
| 323 | - vnfm-adapter |
| 324 | logging: |
| 325 | driver: "json-file" |
| 326 | options: |
| 327 | max-size: "30m" |
| 328 | max-file: "5" |
| 329 | ################################################################################ |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 330 | workaround-config: |
| 331 | image: jobs/workaround-job-container:latest |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 332 | ports: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 333 | - "9990:9990" |
| 334 | volumes: |
| 335 | - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 336 | environment: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 337 | - MYSQL_ROOT_PASSWORD=password |
| 338 | - DB_HOST=mariadb |
| 339 | - DB_PORT=3306 |
| 340 | - CATALOG_DB=catalogdb |
| 341 | depends_on: |
| 342 | - mariadb |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 343 | - vnfm-adapter |
eHanan | 93a2837 | 2019-07-22 15:51:26 +0000 | [diff] [blame] | 344 | command: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 345 | - "/config/apply-workarounds.sh" |
rope252 | 1537edf | 2019-07-25 16:04:10 +0000 | [diff] [blame] | 346 | ################################################################################# |
waqas.ikram | 2480541 | 2019-08-01 16:19:31 +0000 | [diff] [blame] | 347 | sdnc-simulator: |
| 348 | image: simulators/sdnc-simulator:latest |
| 349 | ports: |
| 350 | - "9994:9994" |
| 351 | environment: |
| 352 | - APP=SDNC-SIMULATOR |
| 353 | - JVM_ARGS=-Xms64m -Xmx512m |
| 354 | hostname: |
| 355 | sdnc-simulator |
| 356 | depends_on: |
| 357 | - mariadb |
| 358 | - vnfm-adapter |
| 359 | logging: |
| 360 | driver: "json-file" |
| 361 | options: |
| 362 | max-size: "30m" |
| 363 | max-file: "5" |
| 364 | ################################################################################ |
waqas.ikram | a5aeeda | 2019-08-07 16:03:14 +0000 | [diff] [blame] | 365 | populate-aai-config: |
| 366 | image: jobs/workaround-job-container:latest |
| 367 | ports: |
| 368 | - "9995:9995" |
| 369 | volumes: |
| 370 | - ${CONFIG_DIR_PATH}/populate-aai-simulator.sh:/config/populate-aai-simulator.sh |
| 371 | - ${CONFIG_DIR_PATH}/wait-for.sh:/config/wait-for.sh |
| 372 | - ${CONFIG_DIR_PATH}/aai-simulator-populate-data:/config/aai-simulator-populate-data/ |
| 373 | environment: |
| 374 | - AAI_SIMULATOR_HOST=aai-simulator |
| 375 | - AAI_SIMULATOR_PORT=9993 |
| 376 | - TIMEOUT_IN_SECONDS=300 #5 mins |
| 377 | depends_on: |
| 378 | - aai-simulator |
| 379 | command: |
| 380 | - "/config/populate-aai-simulator.sh" |
| 381 | ################################################################################ |