Several Environment variables are not working with Docker image

Hi,
Thanks for reporting. I confirm that the mechanism doesn’t work for some properties on the list. Here is the ticket to track it: https://jira.sonarsource.com/browse/SONAR-13272

The workaround is to configure these properties through sonar.properties or in case of docker you can also pass these properties to the entrypoint, like this:

docker run -p 9000:9000 sonarqube:8.2-community -Dsonar.web.context=/my-context
2 Likes