From f6b954bd15f9ba2de10788b97b85ca298a880fb3 Mon Sep 17 00:00:00 2001 From: Patricia Reinoso Date: Tue, 16 Jul 2024 14:55:40 +0000 Subject: [PATCH] add swagger env variable --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3dab28a..9e9b102 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,15 @@ A Network Management System for managing the Aether SD-Core 5G core network. ## Usage NMS needs to be configured with the following environment variables: +- `SWAGGER_HOST`: The host of the webui. This is used to redirect the swagger operations to the webui. - `UPF_CONFIG_PATH`: The path to the UPF configuration file. An example of this file can be seen in the `examples/` directory. - `GNB_CONFIG_PATH`: The path to the gNodeB configuration file. An example of this file can be seen in the `examples/` directory. ```console +export SWAGGER_HOST=10.1.182.28 export UPF_CONFIG_PATH=/path/to/upf_config.json export GNB_CONFIG_PATH=/path/to/gnb_config.json docker pull ghcr.io/canonical/sdcore-nms:0.2.0 -docker run -it --env UPF_CONFIG_PATH --env GNB_CONFIG_PATH ghcr.io/canonical/sdcore-nms:0.2.0 +docker run -it --env UPF_CONFIG_PATH --env GNB_CONFIG_PATH --env WEBUI_ENDPOINT ghcr.io/canonical/sdcore-nms:0.2.0 ```