Hide
Services/Collaborations
Campus Network as a Service
CNaaS NMS also comes with a front-end WebUI developed in React Javascript. It can be found on https://github.com/SUNET/cnaas-front
Install a new VM with docker/docker-compose. Create a new docker-compose.yaml file similar to this:
version: '3.7'
services:
cnaas_front:
image: docker.sunet.se/cnaas/front:latest
ports:
- 443:4443
environment:
- GITREPO_ETC=
- CNAAS_API_URL=
- CNAAS_AUTH_URL=
Insert URL to API like: https://cnaas-nms-vm.myorg.com/ and https://cnaas-auth-vm.myorg.com/
GITREPO_ETC is not used yet.
Start the container and start a shell running inside the container. Create the file .env in /opt/cnaas with the following contents:
API_URL=https://cnaas-front-vm.myorg.com
Run the following commands to rebuild the WebUI for your URL path:
npm run-script build