Add instructions on how to run the Prometheus and Grafana docker-containers alongside the UrlsController, by using the same script.

This commit is contained in:
Lampros Smyrnaios 2023-06-23 14:52:07 +03:00
parent d52601e819
commit b6b1cb08b9
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ Note: The Shutdown Service API is accessible by the Controller's host machine.
- Execute the ```installAndRun.sh``` script which builds and runs the app.<br> - Execute the ```installAndRun.sh``` script which builds and runs the app.<br>
If you want to just run the app, then run the script with the argument "1": ```./installAndRun.sh 1```.<br> If you want to just run the app, then run the script with the argument "1": ```./installAndRun.sh 1```.<br>
If you want to build and run the app on a **Docker Container**, then run the script with the argument "0" followed by the argument "1": ```./installAndRun.sh 0 1```.<br> If you want to build and run the app on a **Docker Container**, then run the script with the argument "0" followed by the argument "1": ```./installAndRun.sh 0 1```.<br>
Additionally, if you want to test/visualize the exposed metrics on Prometheus and Grafana, you can deploy their instances on docker containers,
by enabling the "runPrometheusAndGrafanaContainers" switch, inside the "./installAndRun.sh" script.<br>
<br> <br>
Implementation notes: Implementation notes: