X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=icsversion%2Fdocker-compose.yaml;fp=icsversion%2Fdocker-compose.yaml;h=e0ff69c17d8021aabf3e70039661fe8b77c21c52;hb=361894d226e2e8946a1e57bba2125a14ce84c009;hp=0000000000000000000000000000000000000000;hpb=16f26ec9bec7e406398340473de228706f75e97f;p=nonrtric%2Frapp%2Fransliceassurance.git diff --git a/icsversion/docker-compose.yaml b/icsversion/docker-compose.yaml new file mode 100644 index 0000000..e0ff69c --- /dev/null +++ b/icsversion/docker-compose.yaml @@ -0,0 +1,71 @@ +# 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: + ics: + build: + context: . + dockerfile: Dockerfile-ics + container_name: ics-sim + networks: + default: + aliases: + - ics-sim + ports: + - 8083:8083 + environment: + - PRODUCER_ADDR=http://prod-sdnr-sim:3905/ + + prod-sdnr-sim: + build: + context: . + dockerfile: Dockerfile-ProdSdnc + container_name: prod-sdnr-sim + networks: + default: + aliases: + - prod-sdnr-sim + ports: + - 3904:3904 + - 3905:3905 + environment: + - ODU_ADDR=http://consumer-sa:8095 + + consumer-sa: + build: + context: . + dockerfile: Dockerfile + container_name: consumer-sa + networks: + default: + aliases: + - consumer-sa + ports: + - 8095:8095 + environment: + - SDNR_USER=admin + - SDNR_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U + - CONSUMER_HOST=http://consumer-sa + - CONSUMER_PORT=8095 + - INFO_COORD_ADDR=http://ics-sim:8083 + - SDNR_ADDR=http://prod-sdnr-sim:3904 + - LOG_LEVEL=Debug \ No newline at end of file