Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.46 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.46 KB

CTFd PaaS on Azure

Deploy CTFd to Azure PaaS services, using Azure Bicep

Tux, the Linux mascot

Deploy to Azure

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 

Template Parameters

  • 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).