Add O-RU closed loop use case info to docs
[nonrtric.git] / test / usecases / oruclosedlooprecovery / scriptversion / docker-compose / docker-compose.yaml
diff --git a/test/usecases/oruclosedlooprecovery/scriptversion/docker-compose/docker-compose.yaml b/test/usecases/oruclosedlooprecovery/scriptversion/docker-compose/docker-compose.yaml
new file mode 100644 (file)
index 0000000..5fa6094
--- /dev/null
@@ -0,0 +1,60 @@
+#  Copyright (C) 2021 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:
+  message-generator:
+    image: message-generator
+    container_name: message-generator
+    networks:
+      default:
+        aliases:
+          - message-generator
+    environment:
+      - MR-HOST=http://dmaap-mr
+      - MR-PORT=3904
+
+  sdnr-simulator:
+    image: sdnr-simulator
+    container_name: sdnr-simulator
+    networks:
+      default:
+        aliases:
+          - sdnr-simulator
+    ports:
+      - 9990:9990
+    environment:
+      - MR-HOST=http://dmaap-mr
+      - MR-PORT=3904
+
+  oru-app:
+    image: oru-app
+    container_name: oru-app
+    networks:
+      default:
+        aliases:
+          - oru-app
+    environment:
+      - MR-HOST=http://dmaap-mr
+      - MR-PORT=3904
+      - SDNR-HOST=http://sdnr-simulator
+      - SDNR-PORT=9990
+      - VERBOSE=on
\ No newline at end of file