10.5 | Server installation and setup | Install the server | Advanced installation features
Advanced installation features
This section explains how to:
- Change the web server connection parameters
- Modify the default configuration of the server installation
You can also:
- In case of a ZIP installation: run SonarQube as a service on Windows or Linux.
- Run SonarQube behind a proxy
- Monitor and adjust Java process memory
- Install a plugin.
Changing the web server connection parameters
To set up the web server connection:
- For a server installation from the ZIP file: Verify and change if necessary the following properties in the SonarQube Server configuration file (
<sonarqubeHome>/conf/sonar.properties
). - For a server installation from the Docker image: Verify and change if necessary the following environment variables.
Property (ZIP installation) | Environment variable (Docker installation) | Description |
---|---|---|
sonar.web.host | SONAR_WEB_HOST | For servers with more than one IP address, this property specifies which address will be used for listening on the specified ports. Default value: 0.0.0.0 (ports will be used on all IP addresses associated with the server) |
sonar.web.port | SONAR_WEB_PORT | TCP port for incoming HTTP connections. Default value: 9000 |
sonar.web.context | SONAR_WEB_CONTEXT | Web context specifying the path at which to serve SonarQube. For example, with Example: Default value: empty (root context) |
Modifying the default configuration of a server installation
To modify the default configuration:
- For a server installation from the ZIP file: Change the sonar properties in the SonarQube Server configuration file (
<sonarqubeHome>/conf/sonar.properties
). - For a server installation from the Docker image: Change the sonar environment variables.
Was this page helpful?