Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 646 Bytes

recipes.md

File metadata and controls

38 lines (26 loc) · 646 Bytes

Run SonarQube with a PostgreSQL database

Requirements

  • Docker Engine 1.9
  • Docker Compose 1.6

Compose file

Create docker-compose.yml file from this example.

Use docker-compose to start the containers.

$ docker-compose up

Restart the containers (after plugin upgrade or install for example).

$ docker-compose restart sonarqube

Analyse a project:

mvn sonar:sonar \
  -Dsonar.host.url=http://$(boot2docker ip):9000

To be improved

  • Backup
  • Clustering
  • Upgrade
  • Admin password
  • Plugins
  • ...