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 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. # To use an environment variable, use the following syntax : ${env:NAME_OF_ENV_VARIABLE}
  5. # For example:
  6. # sonar.jdbc.url= ${env:SONAR_JDBC_URL}
  7. #
  8. #
  9. # See also the file conf/wrapper.conf for JVM advanced settings
  10. #--------------------------------------------------------------------------------------------------
  11. # DATABASE
  12. #
  13. # IMPORTANT: the embedded H2 database is used by default. It is recommended for tests only.
  14. # Please use a production-ready database. Supported databases are MySQL, Oracle, PostgreSQL
  15. # and Microsoft SQLServer.
  16. # Permissions to create tables, indices and triggers must be granted to JDBC user.
  17. # The schema must be created first.
  18. sonar.jdbc.username=sonar
  19. sonar.jdbc.password=sonar
  20. #----- Embedded database H2
  21. # Note: it does not accept connections from remote hosts, so the
  22. # SonarQube server and the maven plugin must be executed on the same host.
  23. # Comment the following line to deactivate the default embedded database.
  24. sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar
  25. # directory containing H2 database files. By default it's the /data directory in the SonarQube installation.
  26. #sonar.embeddedDatabase.dataDir=
  27. # H2 embedded database server listening port, defaults to 9092
  28. #sonar.embeddedDatabase.port=9092
  29. #----- MySQL 5.x
  30. # Comment the embedded database and uncomment the following line to use MySQL
  31. #sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
  32. #----- Oracle 10g/11g
  33. # To connect to Oracle database:
  34. #
  35. # - It's recommended to use the latest version of the JDBC driver (ojdbc6.jar).
  36. # Download it in http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html
  37. # - Copy the driver to the directory extensions/jdbc-driver/oracle/
  38. # - If you need to set the schema, please refer to http://jira.sonarsource.com/browse/SONAR-5000
  39. # - Comment the embedded database and uncomment the following line:
  40. #sonar.jdbc.url=jdbc:oracle:thin:@localhost/XE
  41. #----- PostgreSQL 8.x/9.x
  42. # Comment the embedded database and uncomment the following property to use PostgreSQL.
  43. # If you don't use the schema named "public", please refer to http://jira.sonarsource.com/browse/SONAR-5000
  44. #sonar.jdbc.url=jdbc:postgresql://localhost/sonar
  45. #----- Microsoft SQLServer
  46. # The Jtds open source driver is available in extensions/jdbc-driver/mssql. More details on http://jtds.sourceforge.net
  47. #sonar.jdbc.url=jdbc:jtds:sqlserver://localhost/sonar;SelectMethod=Cursor
  48. #----- Connection pool settings
  49. sonar.jdbc.maxActive=20
  50. sonar.jdbc.maxIdle=5
  51. sonar.jdbc.minIdle=2
  52. sonar.jdbc.maxWait=5000
  53. sonar.jdbc.minEvictableIdleTimeMillis=600000
  54. sonar.jdbc.timeBetweenEvictionRunsMillis=30000
  55. #--------------------------------------------------------------------------------------------------
  56. # WEB SERVER
  57. # Binding IP address. For servers with more than one IP address, this property specifies which
  58. # address will be used for listening on the specified ports.
  59. # By default, ports will be used on all IP addresses associated with the server.
  60. #sonar.web.host=0.0.0.0
  61. # Web context. When set, it must start with forward slash (for example /sonarqube).
  62. # The default value is root context (empty value).
  63. #sonar.web.context=
  64. # TCP port for incoming HTTP connections. Disabled when value is -1.
  65. #sonar.web.port=9000
  66. # TCP port for incoming HTTPS connections. Disabled when value is -1 (default).
  67. #sonar.web.https.port=-1
  68. # HTTPS - the alias used to for the server certificate in the keystore.
  69. # If not specified the first key read in the keystore is used.
  70. #sonar.web.https.keyAlias=
  71. # HTTPS - the password used to access the server certificate from the
  72. # specified keystore file. The default value is "changeit".
  73. #sonar.web.https.keyPass=changeit
  74. # HTTPS - the pathname of the keystore file where is stored the server certificate.
  75. # By default, the pathname is the file ".keystore" in the user home.
  76. # If keystoreType doesn't need a file use empty value.
  77. #sonar.web.https.keystoreFile=
  78. # HTTPS - the password used to access the specified keystore file. The default
  79. # value is the value of sonar.web.https.keyPass.
  80. #sonar.web.https.keystorePass=
  81. # HTTPS - the type of keystore file to be used for the server certificate.
  82. # The default value is JKS (Java KeyStore).
  83. #sonar.web.https.keystoreType=JKS
  84. # HTTPS - the name of the keystore provider to be used for the server certificate.
  85. # If not specified, the list of registered providers is traversed in preference order
  86. # and the first provider that supports the keystore type is used (see sonar.web.https.keystoreType).
  87. #sonar.web.https.keystoreProvider=
  88. # HTTPS - the pathname of the truststore file which contains trusted certificate authorities.
  89. # By default, this would be the cacerts file in your JRE.
  90. # If truststoreFile doesn't need a file use empty value.
  91. #sonar.web.https.truststoreFile=
  92. # HTTPS - the password used to access the specified truststore file.
  93. #sonar.web.https.truststorePass=
  94. # HTTPS - the type of truststore file to be used.
  95. # The default value is JKS (Java KeyStore).
  96. #sonar.web.https.truststoreType=JKS
  97. # HTTPS - the name of the truststore provider to be used for the server certificate.
  98. # If not specified, the list of registered providers is traversed in preference order
  99. # and the first provider that supports the truststore type is used (see sonar.web.https.truststoreType).
  100. #sonar.web.https.truststoreProvider=
  101. # HTTPS - whether to enable client certificate authentication.
  102. # The default is false (client certificates disabled).
  103. # Other possible values are 'want' (certificates will be requested, but not required),
  104. # and 'true' (certificates are required).
  105. #sonar.web.https.clientAuth=false
  106. # The maximum number of connections that the server will accept and process at any given time.
  107. # When this number has been reached, the server will not accept any more connections until
  108. # the number of connections falls below this value. The operating system may still accept connections
  109. # based on the sonar.web.connections.acceptCount property. The default value is 50 for each
  110. # enabled connector.
  111. #sonar.web.http.maxThreads=50
  112. #sonar.web.https.maxThreads=50
  113. # The minimum number of threads always kept running. The default value is 5 for each
  114. # enabled connector.
  115. #sonar.web.http.minThreads=5
  116. #sonar.web.https.minThreads=5
  117. # The maximum queue length for incoming connection requests when all possible request processing
  118. # threads are in use. Any requests received when the queue is full will be refused.
  119. # The default value is 25 for each enabled connector.
  120. #sonar.web.http.acceptCount=25
  121. #sonar.web.https.acceptCount=25
  122. # Access logs are generated in the file logs/access.log. This file is rolled over when it's 5Mb.
  123. # An archive of 3 files is kept in the same directory.
  124. # Access logs are enabled by default.
  125. #sonar.web.accessLogs.enable=true
  126. # TCP port for incoming AJP connections. Disabled when value is -1.
  127. # sonar.ajp.port=9009
  128. #--------------------------------------------------------------------------------------------------
  129. # UPDATE CENTER
  130. # The Update Center requires an internet connection to request http://update.sonarsource.org
  131. # It is enabled by default.
  132. #sonar.updatecenter.activate=true
  133. # HTTP proxy (default none)
  134. #http.proxyHost=
  135. #http.proxyPort=
  136. # NT domain name if NTLM proxy is used
  137. #http.auth.ntlm.domain=
  138. # SOCKS proxy (default none)
  139. #socksProxyHost=
  140. #socksProxyPort=
  141. # proxy authentication. The 2 following properties are used for HTTP and SOCKS proxies.
  142. #http.proxyUser=
  143. #http.proxyPassword=
  144. #--------------------------------------------------------------------------------------------------
  145. # NOTIFICATIONS
  146. # Delay in seconds between processing of notification queue. Default is 60.
  147. #sonar.notifications.delay=60
  148. #--------------------------------------------------------------------------------------------------
  149. # DEVELOPMENT MODE
  150. # Only for debugging
  151. # Set to true to apply Ruby on Rails code changes on the fly
  152. #sonar.rails.dev=false