From c7070e211e10c8e43da0ee427a353180f2405b78 Mon Sep 17 00:00:00 2001 From: Alex Stancu Date: Tue, 22 Dec 2020 15:59:20 +0200 Subject: [PATCH] Add docker-compose for NTS Manager. Issue-ID: SIM-52 Change-Id: Ie7771b662e1425bd11eff26556e111c56e5c170b Signed-off-by: Alex Stancu --- ntsimulator/.env | 6 ++++++ ntsimulator/docker-compose.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 ntsimulator/.env create mode 100644 ntsimulator/docker-compose.yaml diff --git a/ntsimulator/.env b/ntsimulator/.env new file mode 100644 index 0000000..26a6069 --- /dev/null +++ b/ntsimulator/.env @@ -0,0 +1,6 @@ +DOCKER_REPO=o-ran-sc/ + +# when changing BUILD_VERSION make sure you also change the version in framework.c +BUILD_VERSION=1.0.3 + +NTS_MANAGER_PORT=8300 diff --git a/ntsimulator/docker-compose.yaml b/ntsimulator/docker-compose.yaml new file mode 100644 index 0000000..6cf95b5 --- /dev/null +++ b/ntsimulator/docker-compose.yaml @@ -0,0 +1,39 @@ +version: '2.4' +services: + ntsim-ng: + image: "${DOCKER_REPO}nts-ng-manager:${BUILD_VERSION}" + container_name: nts-ng-manager + ports: + - "::${NTS_MANAGER_PORT}:830" + volumes: + - "/var/run/docker.sock:/var/run/docker.sock" + - "/usr/bin/docker:/usr/bin/docker" + environment: + IPv6_ENABLED: "false" + DOCKER_ENGINE_VERSION: "1.40" + + NETCONF_NTS_HOST_IP: "10.20.11.121" + NETCONF_NTS_HOST_BASE_PORT: 50000 + SSH_CONNECTIONS: 1 + TLS_CONNECTIONS: 0 + + SDN_CONTROLLER_IP: "10.20.11.131" + SDN_CONTROLLER_PORT: 8181 + SDN_CONTROLLER_CALLHOME_PORT: 6666 + SDN_CONTROLLER_USERNAME: "admin" + SDN_CONTROLLER_PASSWORD: "admin" + + VES_ENDPOINT_PROTOCOL: "https" + VES_ENDPOINT_IP: "127.0.0.1" + VES_ENDPOINT_PORT: 1234 + VES_ENDPOINT_AUTH_METHOD: "no-auth" + VES_ENDPOINT_USERNAME: "admin" + VES_ENDPOINT_PASSWORD: "admin" + networks: + app_net: + +networks: + app_net: + driver: bridge + ipam: + driver: default -- 2.16.6