This docker compose is used to audit code localy using the sonar stack
After the chekout in order to properly setup the environment please execute
./setup.sh
Sonar scanner is configured to use the path configured in the .env file.
To change the analyzed path change the parameter :
sources_directory=/home/dev/Projects/my-project
- The path need to reference a folder
- The referenced folder need to have a sonar-project.properties
-
Start sonar server
sonar-server/startSonarServer.sh
-
Start sonar scanner
sonar-scanner/startSonarScanner.sh
-
Start sonar server
sonar-server/stopSonarServer.sh
-
Start sonar scanner
sonar-scanner/stopSonarScanner.sh
http://localhost:9000 dev / dev