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 v7.7 and below.
  • Not Compatible: Sonarqube v7.8 and above.

Sonarqube v7.8 and above does not work in Azure App Service Web App for Containers. This is because ElasticSearch is included by Sonarqube in version 7.8 and above but this requires vm.max_map_count = 262144 to be set in the container host kernel. At this time, there is no way to configure this setting for an Azure App Service Web App for Containers. See Issue #7481 for more information.

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