Skip to content

Quickstart for deploying the new and better ‘WordPress on App Service’ via Azure Bicep

License

Notifications You must be signed in to change notification settings

pauldotyu/azure-wordpress-bicep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

azure-wordpress-bicep

This WordPress on App Service deployment is based on the recent announcement of a "New and better 'WordPress on App Service'".

To deploy this template, you will need the following:

  1. Git to clone this repo
  2. Azure Subscription
  3. Azure CLI
  4. Azure Bicep

Using your favorite terminal, run the folowing commands to deploy:

NOTE: Examples below have been tested in WSL.

# setup parameters
location="<LOCATION>"
projectName="<GLOBALLY_UNIQUE_NAME>"
username="<USERNAME>"
password="<PASSWORD>"
email="<EMAIL>"

# review the rest of the parameter values in the parameters.json file and override the values

# create a resource group
az group create --name $projectName-rg --location $location

# deploy your bicep file
az deployment group create \
 --name $projectName-deployment \
 --resource-group $projectName-rg \
 --template-file ./main.bicep \
 --parameters @parameters.json \
 --parameters location=$location projectName=$projectName mySqlServerUsername=$username mySqlServerPassword=$password wordpressAdminEmail=$email wordpressUsername=$username wordpressPassword=$password

To destroy your resources, run the following command:

az group delete -n $projectName-rg -y

About

Quickstart for deploying the new and better ‘WordPress on App Service’ via Azure Bicep

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages