Sonarqube Docker Web App on Linux with Azure SQL

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Bicep Version

Deploy To Azure Deploy To Azure US Gov Visualize

This template deploys Sonarqube in an Azure App Service web app Linux container using the official Sonarqube image and backed by an Azure SQL Server.

Compatible Versions of Sonarqube

  • Compatible: Sonarqube v10.5 and above v8.9.
  • Not Compatible: Sonarqube v8.2 and below.

Sonarqube 7.8 and above does require extra configurations in order for the embedded ElasticSearch to be reliable (as in production environment), so in order to run it in an Azure App Service Web App we are setting an explicit configuration SONAR_ES_BOOTSTRAP_CHECKS_DISABLE as true.

Also, there was a breaking change in environment variables naming convention since SonarQube 8.2 which makes impossible to run this template against versions below v8.2.

Furthermore, there is no offical documentation being mantained for SonarQube versions below v8.9 which implies that there may be other breaking changes between v7.7 (last version of this template) and v8.9 so those were removed from the template to avoid any other unknown impediments.

Tags: Microsoft.Web/serverfarms, Microsoft.Web/sites, config, Microsoft.Sql/servers, firewallrules, databases