X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=smoversion%2Fdocker-compose.yaml;fp=smoversion%2Fdocker-compose.yaml;h=2ebc1f57059decf81361d061cffaabc1bd129ef9;hb=5542d26d709c996977d3992c58b273ce83e21e16;hp=0000000000000000000000000000000000000000;hpb=71e113b81dbc68694aec281c85c4472640dc8095;p=nonrtric%2Frapp%2Fransliceassurance.git diff --git a/smoversion/docker-compose.yaml b/smoversion/docker-compose.yaml new file mode 100644 index 0000000..2ebc1f5 --- /dev/null +++ b/smoversion/docker-compose.yaml @@ -0,0 +1,55 @@ +# Copyright (C) 2022 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.5' + +networks: + default: + driver: bridge + name: nonrtric-docker-net + +services: + sdnr-mr-sim: + build: + context: . + dockerfile: Dockerfile-simulator + container_name: sdnr-mr-sim + networks: + default: + aliases: + - sdnr-mr-sim + ports: + - 3904:3904 + - 3905:3905 + + odu-app: + build: + context: . + dockerfile: Dockerfile + container_name: odu-app + networks: + default: + aliases: + - odu-app + ports: + - 8086:8086 + environment: + - MR_HOST=http://sdnr-mr-sim + - MR_PORT=3905 + - SDNR_ADDR=http://sdnr-mr-sim:3904 + - SDNR_USER=admin + - SDNR_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U + - LOG_LEVEL=Info + - POLLTIME=10 \ No newline at end of file