Deploy CTFd to Azure PaaS services, using Azure Bicep
To deploy the bicep template to Azure, use the following script:
export DB_PASSWORD='YOUR PASSWORD'
export RESOURCE_GROUP_NAME='RESOURCE GROUP NAME'
az deployment group create --resource-group $RESOURCE_GROUP_NAME --template-file ctfd.bicep --parameters administratorLoginPassword=$DB_PASSWORD
- vnet - Determine if the resources are deployed with a VNet, default is true (boolean).
- redisServerName - Name of Redis cache (string).
- mariaServerName - Name of MariaDB (string).
- administratorLogin - MariaDB admin name (string).
- administratorLoginPassword - MariaDB admin password, the only required parameter (string).
- keyVaultName – Name of the key vault service (string).
- appServicePlanName - Name of app service plan (string).
- appServicePlanSkuTier - App Service Plan SKU tier (string).
- appServicePlanSkuName - App Service Plan SKU name (string).
- webAppName - Name of app service webapp (string).
- logAnalyticsName - Name for Log Analytics Workspace (string).
- virtualNetworkName - Name of virtual network (string).
- resourcesLocation - Location of resources, defaults to the resource group location (string).