This repo provides an example build of a WordPress server on Azure via Terraform, utilizing Docker and Traefik to automate the deployment.
(Assuming Terraform is installed)
- Have an Azure account
- Register a domain
- Create an Azure DNS Zone
- Create an Azure Resource Group to contain your assets
- Point your domain to Azure's DNS servers, as described in the DNS Zone.
- Review the
.tf
files and thedocker-compose.yml
file for domain, email, and resource group details, changing everything to appropriate values. terraform init
terraform apply
. Supply your external IP for SSH access, and a password of your choosing for the VM.