Hello,
I am deploying sonarqube (developer version) on a server, I would like to know if it’s possible to set the License key programatically (that is to say, without using the web interface to got to Setting → Marketplace …)
Is there a way to set the license key in the docker file or any other configuration files ?
There is a Web API (documentation linked in the footer of your instance), POST api/editions/set_license, that could be programmatically used to set a license.
And, since the license is stored in the database once it’s set… this is really a one-time action, and SonarQube servers shouldn’t be getting torn down and built up everyday.