Sonarqube Docker Web App on Linux with MySQL

by lfraile
Last updated: 8/13/2017

This template provides a easy way to deploy a Sonarqube docker image (alpine tag) on a Linux Web App with Azure database for MySQL

This Azure Resource Manager template was created by a member of the community and not by Microsoft. Each Resource Manager template is licensed to you under a license agreement by its owner, not Microsoft. Microsoft is not responsible for Resource Manager templates provided and licensed by community members and does not screen for security, compatibility, or performance. Community Resource Manager templates are not supported under any Microsoft support program or service, and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
siteName Name of azure web app
servicePlanTier Tier for Service Plan
servicePlanSku Size for Service Plan
administratorLogin Database administrator login name
administratorLoginPassword Database administrator password
databaseSkuCapacity Azure database for MySQL compute capacity in vCores (2,4,8,16,32)
databaseSkuName Azure database for MySQL sku name
databaseSkuSizeMB Azure database for MySQL Sku Size
databaseSkuTier Azure database for MySQL pricing tier
mysqlVersion MySQL version
location Location for all the resources
databaseSkuFamily Azure database for MySQL sku family

Use the template

PowerShell

New-AzResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-webapp-linux-sonarqube-mysql/azuredeploy.json
Install and configure Azure PowerShell

Command line

az group deployment create --resource-group <my-resource-group> --name <my-deployment-name> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-webapp-linux-sonarqube-mysql/azuredeploy.json
Install and Configure the Azure Cross-Platform Command-Line Interface