X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=test%2Fsimulator-group%2Fric%2Fdocker-compose.yml;h=9e35882abe5be636d0bb90bdd6361c8402dc8a54;hb=931e03479a552777755d805972428f8691c5dc1c;hp=17ef5aa4332c4d1d56809043dd65cb4fd536e666;hpb=7a7a13a47eeebf9a61fa84d14af59b1cbe1598bc;p=nonrtric.git diff --git a/test/simulator-group/ric/docker-compose.yml b/test/simulator-group/ric/docker-compose.yml index 17ef5aa4..9e35882a 100644 --- a/test/simulator-group/ric/docker-compose.yml +++ b/test/simulator-group/ric/docker-compose.yml @@ -1,5 +1,5 @@ # ============LICENSE_START=============================================== -# Copyright (C) 2020 Nordix Foundation. All rights reserved. +# Copyright (C) 2020-2023 Nordix Foundation. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,30 +21,25 @@ version: '3.0' networks: default: - external: - name: ${DOCKER_SIM_NWNAME} + external: true + name: ${DOCKER_SIM_NWNAME} + services: - g1: - image: ${RIC_SIM_IMAGE} - networks: - - default - ports: - - ${RIC_SIM_INTERNAL_PORT}/tcp - environment: - - A1_VERSION=${G1_A1_VERSION} - g2: - image: ${RIC_SIM_IMAGE} - networks: - - default - ports: - - ${RIC_SIM_INTERNAL_PORT}/tcp - environment: - - A1_VERSION=${G2_A1_VERSION} - g3: + ${RICSIM_COMPOSE_SERVICE_NAME}: image: ${RIC_SIM_IMAGE} networks: - default ports: - ${RIC_SIM_INTERNAL_PORT}/tcp + - ${RIC_SIM_INTERNAL_SECURE_PORT}/tcp environment: - - A1_VERSION=${G3_A1_VERSION} \ No newline at end of file + - A1_VERSION=${RICSIM_COMPOSE_A1_VERSION} + - REMOTE_HOSTS_LOGGING=1 + - ALLOW_HTTP=true + - DUPLICATE_CHECK=1 + volumes: + - ${RIC_SIM_CERT_MOUNT_DIR}:/usr/src/app/cert:ro + labels: + - "a1sim=app" + - "nrttest_app=RICSIM" + - "nrttest_dp=${RIC_SIM_DISPLAY_NAME}"