Merge pull request #547 from Godin/sonarqube

Update SonarQube documentation
This commit is contained in:
yosifkit 2016-04-13 15:12:24 -07:00
commit 362fedef38
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ SonarQube is an open source platform for continuous inspection of code quality.
The server is started this way:
```console
$ docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube:5.1
$ docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube
```
To analyse a project:
@ -38,7 +38,7 @@ $ docker run -d --name sonarqube \
-e SONARQUBE_JDBC_USERNAME=sonar \
-e SONARQUBE_JDBC_PASSWORD=sonar \
-e SONARQUBE_JDBC_URL=jdbc:postgresql://localhost/sonar \
sonarqube:5.1
sonarqube
```
More recipes can be found [here](https://github.com/SonarSource/docker-sonarqube/blob/master/recipes.md).