X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2Fsimulator-group%2Fric%2Fdocker-compose.yml;h=17ef5aa4332c4d1d56809043dd65cb4fd536e666;hb=80a9200dc1dfc342d5debfaa5df3d28c14bc5a68;hp=e45e0e4173e0cf74dd1200fa596d2dc224614a65;hpb=7619c78eac9c8a1ad1e17e0a74d93acd04238ce8;p=nonrtric.git diff --git a/near-rt-ric-simulator/simulator-group/ric/docker-compose.yml b/near-rt-ric-simulator/simulator-group/ric/docker-compose.yml index e45e0e41..17ef5aa4 100644 --- a/near-rt-ric-simulator/simulator-group/ric/docker-compose.yml +++ b/near-rt-ric-simulator/simulator-group/ric/docker-compose.yml @@ -1,12 +1,50 @@ +# ============LICENSE_START=============================================== +# Copyright (C) 2020 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. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END================================================= +# + +version: '3.0' + +# Compose file to bring up 3 groups of ric simulator containers with variable interface and count + networks: - nonrtric-docker-net: + default: external: - name: nonrtric-docker-net + name: ${DOCKER_SIM_NWNAME} services: - ric-simulator: - image: ric-simulator:latest + g1: + image: ${RIC_SIM_IMAGE} networks: - nonrtric-docker-net: null + - default ports: - - 8085/tcp -version: '3.0' \ No newline at end of file + - ${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: + image: ${RIC_SIM_IMAGE} + networks: + - default + ports: + - ${RIC_SIM_INTERNAL_PORT}/tcp + environment: + - A1_VERSION=${G3_A1_VERSION} \ No newline at end of file