This service is the web component of the services dashboard. (Please refer to the main documentation in services-dashboard-api for an overview).
It is primarily designed to display information stored in Mongo that has been collected by other components of the dashboard. The same information can be displayed in different tabs. In other words, the dashboard provides multiple views of the data, depending on the user (currently developers or product owners, though it can be extended for other roles, (such as testers) or use cases).
Add the below environment variables to the .env file and save under services-dashboard-web folder. Update with the appropriate values pointing to local or dev environment.
MONGO_USER=
MONGO_PASSWORD=
MONGO_HOSTANDPORT=
CDN_URL=
DEP_TRACK_SERVER=
SONAR_SERVER=Run the following commands from the services-dashboard-web folder in the terminal.
npm install
npm run build
docker build -f Dockerfile.local -t local-services-dashboard .Run the following command from the terminal.
docker run --env-file .env -it --rm -p 3000:3000 local-services-dashboardAccess the service from http://localhost:3000/dashboard in the browser.