Skip to content

TimSoethout/scala-sonarqube-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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