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