Skip to content

TimSoethout/scala-sonarqube-docker

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
Docker-compose config to start up database and sonar and link them. Data is stored in a data container.


Run with:
$ docker-compose start data db sonarqube

Run `plugins` to install plugins:
$ docker-compose start data plugins

Restart `sonar` to have it pick up the plugins
$ docker-compose stop
$ docker-compose start data db sonarqube

SonarQube should now be available at port :9000 on your Docker host.

Run this to inspect the data volumes
$ docker run --rm -v /usr/local/bin/docker:/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba sonardocker_data_1
or
$ docker-compose run sonarqube bash

Extra
=====

`java-sonar-way-merged.xml` contains the strict ruleset used in our Sonar. It can be imported via de web gui.

Sonar Plugin locations
----------------------

- https://github.com/SonarCommunity/sonar-scala
- https://github.com/RadoBuransky/sonar-scoverage-plugin/releases
- https://github.com/emrehan/sonar-scalastyle

Update Plugins
==============

See `sonar-plugins/assets/init.sh` for plugins and versions.
Please update the plugins there for reproducability and restart the containers with `docker-compose up -d`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages