You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sonar.properties 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. # This file must contain only ISO 8859-1 characters.
  2. # See http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Properties.html#load(java.io.InputStream)
  3. #
  4. # Property values can:
  5. # - reference an environment variable, for example sonar.jdbc.url= ${env:SONAR_JDBC_URL}
  6. # - be encrypted. See http://docs.codehaus.org/display/SONAR/Settings+Encryption
  7. #--------------------------------------------------------------------------------------------------
  8. # DATABASE
  9. #
  10. # IMPORTANT: the embedded H2 database is used by default. It is recommended for tests but not for
  11. # production use. Supported databases are MySQL, Oracle, PostgreSQL and Microsoft SQLServer.
  12. # User credentials.
  13. # Permissions to create tables, indices and triggers must be granted to JDBC user.
  14. # The schema must be created first.
  15. #sonar.jdbc.username=sonar
  16. #sonar.jdbc.password=sonar
  17. #----- Embedded Database (default)
  18. # It does not accept connections from remote hosts, so the
  19. # server and the analyzers must be executed on the same host.
  20. #sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar
  21. # H2 embedded database server listening port, defaults to 9092
  22. #sonar.embeddedDatabase.port=9092
  23. #----- MySQL 5.x
  24. #sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
  25. #----- Oracle 10g/11g
  26. # - Only thin client is supported
  27. # - Only versions 11.2.* of Oracle JDBC driver are supported, even if connecting to lower Oracle versions.
  28. # - The JDBC driver must be copied into the directory extensions/jdbc-driver/oracle/
  29. # - If you need to set the schema, please refer to http://jira.codehaus.org/browse/SONAR-5000
  30. #sonar.jdbc.url=jdbc:oracle:thin:@localhost/XE
  31. #----- PostgreSQL 8.x/9.x
  32. # If you don't use the schema named "public", please refer to http://jira.codehaus.org/browse/SONAR-5000
  33. #sonar.jdbc.url=jdbc:postgresql://localhost/sonar
  34. #----- Microsoft SQLServer 2005/2008
  35. # Only the distributed jTDS driver is supported.
  36. #sonar.jdbc.url=jdbc:jtds:sqlserver://localhost/sonar;SelectMethod=Cursor
  37. #----- Connection pool settings
  38. sonar.jdbc.maxActive=20
  39. sonar.jdbc.maxIdle=5
  40. sonar.jdbc.minIdle=2
  41. sonar.jdbc.maxWait=5000
  42. sonar.jdbc.minEvictableIdleTimeMillis=600000
  43. sonar.jdbc.timeBetweenEvictionRunsMillis=30000
  44. #--------------------------------------------------------------------------------------------------
  45. # WEB SERVER
  46. # Web server is executed in a dedicated Java process. By default its heap size is 768Mb.
  47. # Use the following property to customize JVM options. Enabling the HotSpot Server VM
  48. # mode (-server) is recommended.
  49. # Note that the option -Dfile.encoding=UTF-8 is mandatory.
  50. #sonar.web.javaOpts=-Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError \
  51. # -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false
  52. # Same as previous property, but allows to not repeat all settings like -Djava.awt.headless=true
  53. #sonar.web.javaAdditionalOpts=
  54. # Binding IP address. For servers with more than one IP address, this property specifies which
  55. # address will be used for listening on the specified ports.
  56. # By default, ports will be used on all IP addresses associated with the server.
  57. #sonar.web.host=0.0.0.0
  58. # Web context. When set, it must start with forward slash (for example /sonarqube).
  59. # The default value is root context (empty value).
  60. #sonar.web.context=
  61. # TCP port for incoming HTTP connections. Disabled when value is -1.
  62. #sonar.web.port=9000
  63. # TCP port for incoming HTTPS connections. Disabled when value is -1 (default).
  64. #sonar.web.https.port=-1
  65. # HTTPS - the alias used to for the server certificate in the keystore.
  66. # If not specified the first key read in the keystore is used.
  67. #sonar.web.https.keyAlias=
  68. # HTTPS - the password used to access the server certificate from the
  69. # specified keystore file. The default value is "changeit".
  70. #sonar.web.https.keyPass=changeit
  71. # HTTPS - the pathname of the keystore file where is stored the server certificate.
  72. # By default, the pathname is the file ".keystore" in the user home.
  73. # If keystoreType doesn't need a file use empty value.
  74. #sonar.web.https.keystoreFile=
  75. # HTTPS - the password used to access the specified keystore file. The default
  76. # value is the value of sonar.web.https.keyPass.
  77. #sonar.web.https.keystorePass=
  78. # HTTPS - the type of keystore file to be used for the server certificate.
  79. # The default value is JKS (Java KeyStore).
  80. #sonar.web.https.keystoreType=JKS
  81. # HTTPS - the name of the keystore provider to be used for the server certificate.
  82. # If not specified, the list of registered providers is traversed in preference order
  83. # and the first provider that supports the keystore type is used (see sonar.web.https.keystoreType).
  84. #sonar.web.https.keystoreProvider=
  85. # HTTPS - the pathname of the truststore file which contains trusted certificate authorities.
  86. # By default, this would be the cacerts file in your JRE.
  87. # If truststoreFile doesn't need a file use empty value.
  88. #sonar.web.https.truststoreFile=
  89. # HTTPS - the password used to access the specified truststore file.
  90. #sonar.web.https.truststorePass=
  91. # HTTPS - the type of truststore file to be used.
  92. # The default value is JKS (Java KeyStore).
  93. #sonar.web.https.truststoreType=JKS
  94. # HTTPS - the name of the truststore provider to be used for the server certificate.
  95. # If not specified, the list of registered providers is traversed in preference order
  96. # and the first provider that supports the truststore type is used (see sonar.web.https.truststoreType).
  97. #sonar.web.https.truststoreProvider=
  98. # HTTPS - whether to enable client certificate authentication.
  99. # The default is false (client certificates disabled).
  100. # Other possible values are 'want' (certificates will be requested, but not required),
  101. # and 'true' (certificates are required).
  102. #sonar.web.https.clientAuth=false
  103. # The maximum number of connections that the server will accept and process at any given time.
  104. # When this number has been reached, the server will not accept any more connections until
  105. # the number of connections falls below this value. The operating system may still accept connections
  106. # based on the sonar.web.connections.acceptCount property. The default value is 50 for each
  107. # enabled connector.
  108. #sonar.web.http.maxThreads=50
  109. #sonar.web.https.maxThreads=50
  110. # The minimum number of threads always kept running. The default value is 5 for each
  111. # enabled connector.
  112. #sonar.web.http.minThreads=5
  113. #sonar.web.https.minThreads=5
  114. # The maximum queue length for incoming connection requests when all possible request processing
  115. # threads are in use. Any requests received when the queue is full will be refused.
  116. # The default value is 25 for each enabled connector.
  117. #sonar.web.http.acceptCount=25
  118. #sonar.web.https.acceptCount=25
  119. # Access logs are generated in the file logs/access.log. This file is rolled over when it's 5Mb.
  120. # An archive of 3 files is kept in the same directory.
  121. # Access logs are enabled by default.
  122. #sonar.web.accessLogs.enable=true
  123. # TCP port for incoming AJP connections. Disabled if value is -1. Disabled by default.
  124. #sonar.ajp.port=-1
  125. #--------------------------------------------------------------------------------------------------
  126. # SEARCH INDEX
  127. # Elasticsearch is used to facilitate fast and accurate information retrieval.
  128. # It is executed in a dedicated Java process.
  129. # JVM options. Note that enabling the HotSpot Server VM mode (-server) is recommended.
  130. #sonar.search.javaOpts=-Xmx256m -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true \
  131. # -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 \
  132. # -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError \
  133. # -Djava.awt.headless=true
  134. # Same as previous property, but allows to not repeat all settings like -Djava.awt.headless=true
  135. #sonar.search.javaAdditionalOpts=
  136. # Elasticsearch port. Default is 9001. Use 0 to get a free port.
  137. # This port must be private and must not be exposed to the Internet.
  138. #sonar.search.port=9001
  139. #--------------------------------------------------------------------------------------------------
  140. # UPDATE CENTER
  141. # Update Center requires an internet connection to request http://update.sonarsource.org
  142. # It is enabled by default.
  143. #sonar.updatecenter.activate=true
  144. # HTTP proxy (default none)
  145. #http.proxyHost=
  146. #http.proxyPort=
  147. # NT domain name if NTLM proxy is used
  148. #http.auth.ntlm.domain=
  149. # SOCKS proxy (default none)
  150. #socksProxyHost=
  151. #socksProxyPort=
  152. # proxy authentication. The 2 following properties are used for HTTP and SOCKS proxies.
  153. #http.proxyUser=
  154. #http.proxyPassword=
  155. #--------------------------------------------------------------------------------------------------
  156. # LOGGING
  157. # Level of information displayed in the logs: NONE (default), BASIC (functional information)
  158. # and FULL (functional and technical details)
  159. #sonar.log.profilingLevel=NONE
  160. # Path to log files. Can be absolute or relative to installation directory.
  161. # Default is <installation home>/logs
  162. #sonar.path.logs=logs
  163. #--------------------------------------------------------------------------------------------------
  164. # OTHERS
  165. # Delay in seconds between processing of notification queue. Default is 60 seconds.
  166. #sonar.notifications.delay=60
  167. # Paths to persistent data files (embedded database and search index) and temporary files.
  168. # Can be absolute or relative to installation directory.
  169. # Defaults are respectively <installation home>/data and <installation home>/temp
  170. #sonar.path.data=data
  171. #sonar.path.temp=temp
  172. #--------------------------------------------------------------------------------------------------
  173. # DEVELOPMENT - only for developers
  174. # Dev mode allows to reload web sources on changes and to restart server when new versions
  175. # of plugins are deployed.
  176. #sonar.web.dev=false
  177. # Path to webapp sources for hot-reloading of Ruby on Rails, JS and CSS (only core,
  178. # plugins not supported).
  179. #sonar.web.dev.sources=/path/to/server/sonar-web/src/main/webapp