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 |
rope252 | eb24971 | 2020-04-16 14:36:02 +0100 | [diff] [blame] | 27 | - ${CONFIG_DIR_PATH}/override-files/catalog-db-adapter/onapheat:/app/config |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 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" |
rope252 | eb24971 | 2020-04-16 14:36:02 +0100 | [diff] [blame] | 46 | user: root |
| 47 | entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" mariadb:3306 -- "/app/start-app.sh"' |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 48 | ################################################################################ |
| 49 | request-db-adapter: |
| 50 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/request-db-adapter:${TAG} |
| 51 | ports: |
| 52 | - "8083:8083" |
| 53 | volumes: |
| 54 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 55 | - ${TEST_LAB_DIR}/volumes/so/config/request-db-adapter/onapheat:/app/config |
| 56 | environment: |
| 57 | - APP=request-db-adapter |
| 58 | - JVM_ARGS=-Xms64m -Xmx512m |
| 59 | - DB_HOST=mariadb |
| 60 | - DB_PORT=3306 |
| 61 | - DB_USERNAME=so_user |
| 62 | - DB_PASSWORD=so_User123 |
| 63 | - DB_ADMIN_USERNAME=so_admin |
| 64 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 65 | hostname: |
| 66 | request-db-adapter.so.testlab.onap.org |
| 67 | depends_on: |
| 68 | - mariadb |
| 69 | - catalog-db-adapter |
| 70 | logging: |
| 71 | driver: "json-file" |
| 72 | options: |
| 73 | max-size: "30m" |
| 74 | max-file: "5" |
rope252 | eb24971 | 2020-04-16 14:36:02 +0100 | [diff] [blame] | 75 | user: root |
| 76 | entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" catalog-db-adapter:8082 -- "/app/start-app.sh"' |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 77 | ################################################################################ |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 78 | sdnc-adapter: |
| 79 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdnc-adapter:${TAG} |
| 80 | ports: |
| 81 | - "8086:8086" |
| 82 | volumes: |
| 83 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 84 | - ${TEST_LAB_DIR}/volumes/so/config/sdnc-adapter/onapheat:/app/config |
| 85 | environment: |
| 86 | - APP=sdnc-adapter |
| 87 | - JVM_ARGS=-Xms64m -Xmx512m |
| 88 | - DB_HOST=mariadb |
| 89 | - DB_PORT=3306 |
| 90 | - DB_USERNAME=so_user |
| 91 | - DB_PASSWORD=so_User123 |
| 92 | - DB_ADMIN_USERNAME=so_admin |
| 93 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 94 | hostname: |
| 95 | sdnc-adapter.so.testlab.onap.org |
| 96 | depends_on: |
| 97 | - mariadb |
| 98 | - catalog-db-adapter |
| 99 | - request-db-adapter |
| 100 | logging: |
| 101 | driver: "json-file" |
| 102 | options: |
| 103 | max-size: "30m" |
| 104 | max-file: "5" |
rope252 | eb24971 | 2020-04-16 14:36:02 +0100 | [diff] [blame] | 105 | user: root |
| 106 | entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 107 | ################################################################################ |
| 108 | sdc-controller: |
| 109 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdc-controller:${TAG} |
| 110 | ports: |
| 111 | - "8085:8085" |
| 112 | volumes: |
| 113 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
eHanan | 2ae0ac0 | 2019-09-16 12:25:40 +0100 | [diff] [blame] | 114 | - ${CONFIG_DIR_PATH}/distribution-test-zip/zipped_sdc_csar.tar.gz:/distribution-test-zip/zipped_sdc_csar.tar.gz |
rope252 | 7b66a4b | 2019-09-24 12:23:44 +0100 | [diff] [blame] | 115 | - ${CONFIG_DIR_PATH}/override-files/sdc-controller/onapheat:/app/config |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 116 | environment: |
| 117 | - APP=sdc-controller |
| 118 | - JVM_ARGS=-Xms64m -Xmx512m |
| 119 | - DB_HOST=mariadb |
| 120 | - DB_PORT=3306 |
| 121 | - DB_USERNAME=so_user |
| 122 | - DB_PASSWORD=so_User123 |
| 123 | - DB_ADMIN_USERNAME=so_admin |
| 124 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 125 | hostname: |
| 126 | sdc-controller.so.testlab.onap.org |
| 127 | depends_on: |
| 128 | - mariadb |
| 129 | - catalog-db-adapter |
| 130 | - request-db-adapter |
| 131 | logging: |
| 132 | driver: "json-file" |
| 133 | options: |
| 134 | max-size: "30m" |
| 135 | max-file: "5" |
rope252 | eb24971 | 2020-04-16 14:36:02 +0100 | [diff] [blame] | 136 | user: root |
| 137 | entrypoint: /bin/sh -c 'mkdir -p /distribution-test-zip/unzipped && tar -xvzf /distribution-test-zip/zipped_sdc_csar.tar.gz -C /distribution-test-zip/unzipped && chmod 777 -R /distribution-test-zip/ && /app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 138 | ################################################################################ |
| 139 | bpmn-infra: |
| 140 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/bpmn-infra:${TAG} |
| 141 | ports: |
| 142 | - "8081:8081" |
| 143 | volumes: |
| 144 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
waqas.ikram | cb3218e | 2019-08-22 10:25:24 +0000 | [diff] [blame] | 145 | - ${CONFIG_DIR_PATH}/override-files/bpmn-infra/onapheat:/app/config |
| 146 | - ${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] | 147 | environment: |
| 148 | - APP=bpmn-infra |
| 149 | - JVM_ARGS=-Xms64m -Xmx512m |
| 150 | - DB_HOST=mariadb |
| 151 | - DB_PORT=3306 |
| 152 | - DB_USERNAME=so_user |
| 153 | - DB_PASSWORD=so_User123 |
| 154 | - DB_ADMIN_USERNAME=so_admin |
| 155 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 156 | hostname: |
| 157 | bpmn-infra.so.testlab.onap.org |
| 158 | depends_on: |
| 159 | - mariadb |
| 160 | - catalog-db-adapter |
| 161 | - request-db-adapter |
| 162 | logging: |
| 163 | driver: "json-file" |
| 164 | options: |
| 165 | max-size: "30m" |
| 166 | max-file: "5" |
rope252 | eb24971 | 2020-04-16 14:36:02 +0100 | [diff] [blame] | 167 | user: root |
| 168 | entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 169 | ################################################################################ |
| 170 | api-handler-infra: |
| 171 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG} |
| 172 | ports: |
| 173 | - "8080:8080" |
| 174 | volumes: |
| 175 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 176 | - ${CONFIG_DIR_PATH}/override-files/api-handler-infra/onapheat:/app/config |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 177 | environment: |
| 178 | - APP=api-handler-infra |
| 179 | - JVM_ARGS=-Xms64m -Xmx512m |
| 180 | - DB_HOST=mariadb |
| 181 | - DB_PORT=3306 |
| 182 | - DB_USERNAME=so_user |
| 183 | - DB_PASSWORD=so_User123 |
| 184 | - DB_ADMIN_USERNAME=so_admin |
| 185 | - DB_ADMIN_PASSWORD=so_Admin123 |
| 186 | hostname: |
| 187 | api-handler-infra.so.testlab.onap.org |
| 188 | depends_on: |
| 189 | - mariadb |
| 190 | - catalog-db-adapter |
| 191 | - request-db-adapter |
| 192 | logging: |
| 193 | driver: "json-file" |
| 194 | options: |
| 195 | max-size: "30m" |
| 196 | max-file: "5" |
rope252 | eb24971 | 2020-04-16 14:36:02 +0100 | [diff] [blame] | 197 | user: root |
| 198 | entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 199 | ############################################################################# |
| 200 | so-monitoring: |
| 201 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-monitoring:${TAG} |
| 202 | ports: |
eHanan | 75c1171 | 2019-08-13 15:44:16 +0000 | [diff] [blame] | 203 | - "30224:30224" |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 204 | volumes: |
eHanan | 319d0ad | 2019-09-03 13:45:18 +0000 | [diff] [blame] | 205 | - ${CONFIG_DIR_PATH}/override-files/so-monitoring/onapheat:/app/config |
robert.tomczyk | 0628710 | 2019-07-29 14:14:59 +0100 | [diff] [blame] | 206 | environment: |
| 207 | - APP=so-monitoring |
| 208 | - JVM_ARGS=-Xms64m -Xmx512m |
| 209 | hostname: |
| 210 | so-monitoring.so.testlab.onap.org |
| 211 | depends_on: |
| 212 | - mariadb |
| 213 | - catalog-db-adapter |
| 214 | - request-db-adapter |
| 215 | ################################################################################ |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 216 | so-vnfm-adapter: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 217 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${TAG} |
| 218 | ports: |
| 219 | - "9092:9092" |
eHanan | 93a2837 | 2019-07-22 15:51:26 +0000 | [diff] [blame] | 220 | volumes: |
| 221 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 222 | - ${CONFIG_DIR_PATH}/override-files/so-vnfm-adapter/onapheat:/app/config |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 223 | environment: |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 224 | - APP=so-vnfm-adapter |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 225 | - JVM_ARGS=-Xms64m -Xmx512m |
| 226 | hostname: |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 227 | so-vnfm-adapter |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 228 | depends_on: |
| 229 | - request-db-adapter |
| 230 | logging: |
| 231 | driver: "json-file" |
| 232 | options: |
| 233 | max-size: "30m" |
| 234 | max-file: "5" |
rope252 | eb24971 | 2020-04-16 14:36:02 +0100 | [diff] [blame] | 235 | user: root |
| 236 | entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"' |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 237 | ################################################################################ |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 238 | sdc-simulator: |
| 239 | image: simulators/sdc-simulator:latest |
| 240 | ports: |
| 241 | - "9991:9991" |
| 242 | environment: |
| 243 | - APP=SDC-SIMULATOR |
| 244 | - JVM_ARGS=-Xms64m -Xmx512m |
| 245 | hostname: |
| 246 | sdc-simulator |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 247 | depends_on: |
| 248 | - mariadb |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 249 | - so-vnfm-adapter |
waqas.ikram | 0a33a29 | 2019-07-23 12:39:15 +0000 | [diff] [blame] | 250 | logging: |
| 251 | driver: "json-file" |
| 252 | options: |
| 253 | max-size: "30m" |
| 254 | max-file: "5" |
| 255 | ################################################################################ |
| 256 | aai-simulator: |
| 257 | image: simulators/aai-simulator:latest |
| 258 | ports: |
| 259 | - "9993:9993" |
| 260 | environment: |
| 261 | - APP=AAI-SIMULATOR |
| 262 | - JVM_ARGS=-Xms64m -Xmx512m |
| 263 | hostname: |
| 264 | aai-simulator |
| 265 | depends_on: |
| 266 | - mariadb |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 267 | - so-vnfm-adapter |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 268 | logging: |
| 269 | driver: "json-file" |
| 270 | options: |
| 271 | max-size: "30m" |
| 272 | max-file: "5" |
| 273 | ################################################################################ |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 274 | so-vnfm-simulator: |
AndrewLamb | fa9bb10 | 2019-10-03 12:02:53 +0100 | [diff] [blame] | 275 | image: simulators/vnfm-simulator:latest |
AndrewLamb | 70095ba | 2019-07-31 11:56:33 +0000 | [diff] [blame] | 276 | ports: |
| 277 | - "9093:9093" |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 278 | volumes: |
AndrewLamb | fa9bb10 | 2019-10-03 12:02:53 +0100 | [diff] [blame] | 279 | - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 280 | - ${CONFIG_DIR_PATH}/override-files/vnfm-simulator/onapheat:/app/config |
AndrewLamb | 70095ba | 2019-07-31 11:56:33 +0000 | [diff] [blame] | 281 | environment: |
| 282 | - APP=VNFM-SIMULATOR |
| 283 | - JVM_ARGS=-Xms64m -Xmx512m |
| 284 | hostname: |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 285 | so-vnfm-simulator |
AndrewLamb | 70095ba | 2019-07-31 11:56:33 +0000 | [diff] [blame] | 286 | depends_on: |
| 287 | - mariadb |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 288 | - so-vnfm-adapter |
AndrewLamb | 70095ba | 2019-07-31 11:56:33 +0000 | [diff] [blame] | 289 | logging: |
| 290 | driver: "json-file" |
| 291 | options: |
| 292 | max-size: "30m" |
| 293 | max-file: "5" |
| 294 | ################################################################################ |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 295 | workaround-config: |
| 296 | image: jobs/workaround-job-container:latest |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 297 | ports: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 298 | - "9990:9990" |
| 299 | volumes: |
| 300 | - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh |
waqas.ikram | b01df8b | 2019-07-09 16:14:17 +0000 | [diff] [blame] | 301 | environment: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 302 | - MYSQL_ROOT_PASSWORD=password |
| 303 | - DB_HOST=mariadb |
| 304 | - DB_PORT=3306 |
| 305 | - CATALOG_DB=catalogdb |
| 306 | depends_on: |
| 307 | - mariadb |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 308 | - so-vnfm-adapter |
eHanan | 93a2837 | 2019-07-22 15:51:26 +0000 | [diff] [blame] | 309 | command: |
waqas.ikram | 7d75329 | 2019-07-18 16:41:17 +0000 | [diff] [blame] | 310 | - "/config/apply-workarounds.sh" |
rope252 | 1537edf | 2019-07-25 16:04:10 +0000 | [diff] [blame] | 311 | ################################################################################# |
waqas.ikram | 2480541 | 2019-08-01 16:19:31 +0000 | [diff] [blame] | 312 | sdnc-simulator: |
| 313 | image: simulators/sdnc-simulator:latest |
| 314 | ports: |
| 315 | - "9994:9994" |
| 316 | environment: |
| 317 | - APP=SDNC-SIMULATOR |
| 318 | - JVM_ARGS=-Xms64m -Xmx512m |
| 319 | hostname: |
| 320 | sdnc-simulator |
| 321 | depends_on: |
| 322 | - mariadb |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 323 | - so-vnfm-adapter |
waqas.ikram | 2480541 | 2019-08-01 16:19:31 +0000 | [diff] [blame] | 324 | logging: |
| 325 | driver: "json-file" |
| 326 | options: |
| 327 | max-size: "30m" |
| 328 | max-file: "5" |
| 329 | ################################################################################ |
waqas.ikram | a5aeeda | 2019-08-07 16:03:14 +0000 | [diff] [blame] | 330 | populate-aai-config: |
| 331 | image: jobs/workaround-job-container:latest |
| 332 | ports: |
| 333 | - "9995:9995" |
| 334 | volumes: |
| 335 | - ${CONFIG_DIR_PATH}/populate-aai-simulator.sh:/config/populate-aai-simulator.sh |
| 336 | - ${CONFIG_DIR_PATH}/wait-for.sh:/config/wait-for.sh |
| 337 | - ${CONFIG_DIR_PATH}/aai-simulator-populate-data:/config/aai-simulator-populate-data/ |
| 338 | environment: |
| 339 | - AAI_SIMULATOR_HOST=aai-simulator |
| 340 | - AAI_SIMULATOR_PORT=9993 |
| 341 | - TIMEOUT_IN_SECONDS=300 #5 mins |
| 342 | depends_on: |
| 343 | - aai-simulator |
waqas.ikram | bba9cee | 2019-09-19 15:40:46 +0100 | [diff] [blame] | 344 | command: |
waqas.ikram | a5aeeda | 2019-08-07 16:03:14 +0000 | [diff] [blame] | 345 | - "/config/populate-aai-simulator.sh" |
| 346 | ################################################################################ |