Add YANG validator for SMO for O1 interface.
[oam.git] / solution / dev / smo / yang-validator / docker-compose.yml
diff --git a/solution/dev/smo/yang-validator/docker-compose.yml b/solution/dev/smo/yang-validator/docker-compose.yml
new file mode 100644 (file)
index 0000000..2676845
--- /dev/null
@@ -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
+