|
1 | 1 | # Property values can:
|
2 |
| -# - reference an environment variable, for example sonar.jdbc.url= ${env:SONAR_JDBC_URL} |
| 2 | +# - be overridden by environment variables. The name of the corresponding environment variable is the |
| 3 | +# upper-cased name of the property where all the dot ('.') and dash ('-') characters are replaced by |
| 4 | +# underscores ('_'). For example, to override 'sonar.web.systemPasscode' use 'SONAR_WEB_SYSTEMPASSCODE'. |
3 | 5 | # - be encrypted. See https://redirect.sonarsource.com/doc/settings-encryption.html
|
4 | 6 |
|
5 | 7 | #--------------------------------------------------------------------------------------------------
|
|
20 | 22 | # H2 embedded database server listening port, defaults to 9092
|
21 | 23 | #sonar.embeddedDatabase.port=9092
|
22 | 24 |
|
| 25 | + |
23 | 26 | #----- Oracle 11g/12c/18c/19c
|
24 | 27 | # The Oracle JDBC driver must be copied into the directory extensions/jdbc-driver/oracle/.
|
25 | 28 | # Only the thin client is supported, and we recommend using the latest Oracle JDBC driver. See
|
26 | 29 | # https://jira.sonarsource.com/browse/SONAR-9758 for more details.
|
27 | 30 | # If you need to set the schema, please refer to http://jira.sonarsource.com/browse/SONAR-5000
|
28 | 31 | #sonar.jdbc.url=jdbc:oracle:thin:@localhost:1521/XE
|
29 | 32 |
|
| 33 | + |
30 | 34 | #----- PostgreSQL 9.3 or greater
|
31 | 35 | # By default the schema named "public" is used. It can be overridden with the parameter "currentSchema".
|
32 | 36 | #sonar.jdbc.url=jdbc:postgresql://localhost/sonarqube?currentSchema=my_schema
|
33 | 37 |
|
| 38 | + |
34 | 39 | #----- Microsoft SQLServer 2014/2016/2017 and SQL Azure
|
35 | 40 | # A database named sonar must exist and its collation must be case-sensitive (CS) and accent-sensitive (AS)
|
36 | 41 | # Use the following connection string if you want to use integrated security with Microsoft Sql Server
|
|
45 | 50 | # Set the sonar.jdbc.username and sonar.jdbc.password appropriately.
|
46 | 51 | #sonar.jdbc.url=jdbc:sqlserver://localhost;databaseName=sonar
|
47 | 52 |
|
| 53 | + |
48 | 54 | #----- Connection pool settings
|
49 | 55 | # The maximum number of active connections that can be allocated
|
50 | 56 | # at the same time, or negative for no limit.
|
|
69 | 75 | #sonar.jdbc.minEvictableIdleTimeMillis=600000
|
70 | 76 | #sonar.jdbc.timeBetweenEvictionRunsMillis=30000
|
71 | 77 |
|
| 78 | + |
| 79 | + |
72 | 80 | #--------------------------------------------------------------------------------------------------
|
73 | 81 | # WEB SERVER
|
74 | 82 | # Web server is executed in a dedicated Java process. By default heap size is 512MB.
|
|
99 | 107 | # TCP port for incoming HTTP connections. Default value is 9000.
|
100 | 108 | #sonar.web.port=9000
|
101 | 109 |
|
| 110 | + |
102 | 111 | # The maximum number of connections that the server will accept and process at any given time.
|
103 | 112 | # When this number has been reached, the server will not accept any more connections until
|
104 | 113 | # the number of connections falls below this value. The operating system may still accept connections
|
|
133 | 142 | # By default feature is disabled.
|
134 | 143 | #sonar.web.systemPasscode=
|
135 | 144 |
|
| 145 | + |
136 | 146 | #--------------------------------------------------------------------------------------------------
|
137 | 147 | # SSO AUTHENTICATION
|
138 | 148 |
|
|
236 | 246 | # Same as previous property, but allows to not repeat all other settings like -Xmx
|
237 | 247 | #sonar.ce.javaAdditionalOpts=
|
238 | 248 |
|
| 249 | + |
239 | 250 | #--------------------------------------------------------------------------------------------------
|
240 | 251 | # ELASTICSEARCH
|
241 | 252 | # Elasticsearch is used to facilitate fast and accurate information retrieval.
|
|
267 | 278 | # As a security precaution, should NOT be set to a publicly available address.
|
268 | 279 | #sonar.search.host=
|
269 | 280 |
|
| 281 | + |
270 | 282 | #--------------------------------------------------------------------------------------------------
|
271 | 283 | # UPDATE CENTER
|
272 | 284 |
|
|
298 | 310 | # (note: localhost and its literal notations (127.0.0.1, ...) are always excluded)
|
299 | 311 | #http.nonProxyHosts=
|
300 | 312 |
|
| 313 | + |
301 | 314 | #--------------------------------------------------------------------------------------------------
|
302 | 315 | # LOGGING
|
303 | 316 |
|
|
380 | 393 | # Default value (which was "combined" before version 6.2) is equivalent to "combined + SQ HTTP request ID":
|
381 | 394 | #sonar.web.accessLogs.pattern=%h %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" "%reqAttribute{ID}"
|
382 | 395 |
|
| 396 | + |
383 | 397 | #--------------------------------------------------------------------------------------------------
|
384 | 398 | # OTHERS
|
385 | 399 |
|
|
398 | 412 | # To see an example of the data shared: login as a global administrator, call the WS api/system/info and check the Statistics field.
|
399 | 413 | sonar.telemetry.enable=false
|
400 | 414 |
|
| 415 | + |
401 | 416 | #--------------------------------------------------------------------------------------------------
|
402 | 417 | # DEVELOPMENT - only for developers
|
403 | 418 | # The following properties MUST NOT be used in production environments.
|
|
0 commit comments