Setting SonarQube's web context path via command line parameter
<p>Is it possible to set SonarQube's web context path using a command line parameter?</p>

<p>Usually you would set property <code>sonar.web.context=/sonarqube</code> (or similar) in <code>sonar.properties</code> file. But I'm using Docker and would like to avoid editing <code>sonar.properties</code>.</p>

<p>With Docker Compose I got the following which is working like a charm for other command line parameters:</p>

<pre><code>services:
  sonarqube:
    image: sonarqube:5.4
    [...]
    entrypoint:
      - ./bin/run.sh
      - -Dsonar.log.level=INFO
      - -Dsonar.web.context=/sonarqube
</code></pre>

<p>But it seems to ignore <code>-Dsonar.web.context=/sonarqube</code> :( Is there a way to pass SonarQube a different context path?</p>

<p>Additional info: This is corresponding <a href="https://github.com/SonarSource/docker-sonarqube/blob/442f950dae232fca8e1e919e017270971cee46f6/5.4/run.sh" rel="nofollow">run.sh file</a>.</p>