Run update.sh
This commit is contained in:
parent
40cf05c568
commit
012d7bf338
|
|
@ -49,7 +49,7 @@ $ docker run --name some-app --link some-redis:redis -d application-that-uses-re
|
|||
## ... or via `redis-cli`
|
||||
|
||||
```console
|
||||
$ docker run -it --link some-redis:redis --rm redis sh -c 'exec redis-cli -h "$REDIS_PORT_6379_TCP_ADDR" -p "$REDIS_PORT_6379_TCP_PORT"'
|
||||
$ docker run -it --link some-redis:redis --rm redis redis-cli -h redis -p 6379
|
||||
```
|
||||
|
||||
## Additionally, If you want to use your own redis.conf ...
|
||||
|
|
|
|||
|
|
@ -24,7 +24,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:
|
||||
|
|
@ -49,7 +49,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).
|
||||
|
|
|
|||
Loading…
Reference in New Issue