X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=solution%2Fdev%2Fsmo%2Fyang-validator%2Fdocker-compose.yml;fp=solution%2Fdev%2Fsmo%2Fyang-validator%2Fdocker-compose.yml;h=26768457edb31cb8b07716a514635a186eae69c3;hb=16c15126c0b0ec3708547478c05772fcfe5829e4;hp=0000000000000000000000000000000000000000;hpb=9856f6be430d832fd71b51a9df7af19249d373fc;p=oam.git diff --git a/solution/dev/smo/yang-validator/docker-compose.yml b/solution/dev/smo/yang-validator/docker-compose.yml new file mode 100644 index 0000000..2676845 --- /dev/null +++ b/solution/dev/smo/yang-validator/docker-compose.yml @@ -0,0 +1,62 @@ +################################################################################ +# Copyright 2020 highstreet technologies GmbH and others +# +# 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. + +################################################################################ + +version: '2.4' +services: + ntsim-ng-o-ran-fh: + image: "${NEXUS_REPO}/o-ran-sc/nts-ng-o-ran-fh:${SIM_BUILD_VERSION}" + container_name: nts-ng-o-ran-fh + ports: + - "::18300:830" + volumes: + - "/var/run/docker.sock:/var/run/docker.sock" + - "/usr/bin/docker:/usr/bin/docker" + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" + networks: + app_net: + + sdnr: + build: + context: ./odl-aluminium + image: ${ODL_DOCKER_IMAGE_NAME}:${ODL_DOCKER_IMAGE_TAG} + container_name: vanilla-odl-container + ports: + - "${PORTPREFIX}8181:8181" + - "${PORTPREFIX}8101:8101" + - "${PORTPREFIX}6666:6666" + environment: + - ODL_HOME=${ODL_HOME} + volumes: + - ${LOCAL_SDNR_MOUNT}/sdnr/logs:${ODL_HOME}/data/log + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" + networks: + app_net: + +networks: + app_net: + driver: bridge + ipam: + driver: default +