Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect Sonarqube 6.7 to external Elasticsearch

I've been using Sonarqube with its embedded database for demos. Now, I need to connect it to an external Elasticsearch instance to meet the requirements of a production environment.

Which configurations I have to add on the elasticsearch.yml and sonar.properties?

like image 526
AnSahar Avatar asked Oct 15 '25 07:10

AnSahar


1 Answers

For the move to production, you don't need to, and shouldn't try to connect to an external Elasticsearch instance. SonarQube starts up and manages its own instance internally.

What you do need to do is connect to an external database, and that's easily done by setting the correct properties in $SONARQUBE_HOME/conf/sonar.properties

like image 106
G. Ann - SonarSource Team Avatar answered Oct 18 '25 03:10

G. Ann - SonarSource Team