X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=goversion%2Fdocker-compose.yaml;fp=goversion%2Fdocker-compose.yaml;h=ef5340b76f2c8d36998f6f42e890118793ffd48d;hb=c78feeaed2f5889816e938328646397ae0e18c71;hp=0000000000000000000000000000000000000000;hpb=46a6d054a6efcae4d249efe79a13bccb1b0252fc;p=nonrtric%2Frapp%2Forufhrecovery.git diff --git a/goversion/docker-compose.yaml b/goversion/docker-compose.yaml new file mode 100644 index 0000000..ef5340b --- /dev/null +++ b/goversion/docker-compose.yaml @@ -0,0 +1,82 @@ +# 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://producer-sim:8085/ + + sdnr-simulator: + build: + context: . + dockerfile: Dockerfile-sdnr + container_name: sdnr-sim + networks: + default: + aliases: + - sdnr-sim + ports: + - 3904:3904 + + producer: + build: + context: . + dockerfile: Dockerfile-producer + container_name: producer-sim + networks: + default: + aliases: + - producer-sim + ports: + - 8085:8085 + environment: + - ORU_ADDR=http://oru-app:8086 + + oru-app: + build: + context: . + dockerfile: Dockerfile + container_name: oru-app + networks: + default: + aliases: + - oru-app + ports: + - 8086:8086 + environment: + - CONSUMER_HOST=http://producer-sim + - CONSUMER_PORT=8086 + - INFO_COORD_ADDR=http://ics-sim:8083 + - SDNR_ADDR=http://sdnr-sim:3904 + - CONSUMER_CERT_PATH=security/consumer.crt + - CONSUMER_KEY_PATH=security/consumer.key + - LOG_LEVEL=Debug \ No newline at end of file