This repo is a set of scripts that walks you through configuring and running the Grafana container on an Azure App Service for Linux, using the storage in the container to store your plugins and database if using SQLite.
Note: Microsoft changed Azure Blob storage to readonly and Azure Files doesn't support the SQLite database as it is created due to the journaling used. You can find out more in this post.
I am using tags to delineate the difference between big changes. Please check the latest tags to know which version you are using.
You will find a build.sh in the Bash folder that can be used to create the resources using the Azure CLI and when you are finished there a cleanup.sh provided to remove them all. Both scripts will require parameters to be set at the top of each file, everything else is computed along the way.
You will find a build.ps1 in the PowerShell folder that can be used to create the resources using the PowerShell Az module and when you are finished there a cleanup.ps1 provided to remove them all. Both scripts will require parameters to be set at the top of each file, everything else is computed along the way.
You will find a set of Terraform files in the Terraform folder that can be used to create the resources, you will only need to change the variables.tf file for any changes that you need to make, everything else is computed. In addition to Terraform, you will need the Azure CLI installed as it is required to create the path mapping to the blob storage because Terraform does not yet support that.