A Docker Container Solution for WordPress on Azure Web App for Containers

In September 2017 Microsoft announced the general availability of Azure Web App for Containers and Azure App Service on Linux.

While it is possible to host WordPress websites with Azure App Service on Linux, its built-in image for PHP is not an ideal environment for WordPress in production. At SNP we turned our attention to the Web App for Containers resource as a way to provide custom Docker images for our customers. SNP's priorities were to:

  • Include WordPress code in the image, not referenced from the Web App /home mount.
  • Set custom permissions on the document root
  • Add more PHP extensions commonly used by WordPress sites
  • Add additional PHP configuration settings recommended for WordPress

A result of this effort is a GitHub repository published on February 6, 2018:

https://github.com/snp-technologies/Azure-App-Service-WordPress

As a public repository, WordPress developers and website hosting managers can fork the repo to customize it for their website use case.

Issues and pull requests on GitHub are welcome!

Docker for WordPress
Headshot of Michael Brooks

Michael Brooks

Michael Brooks is the Director of Development at SNP Technologies. In his role, Mike provides technical direction and oversight over contracts for application development, cloud migration, and DevOps projects. Throughout a project's life-cycle Mike engages in essential consultation with customer stakeholders and works with internal project managers and engineering teams to ensure alignment with customer objectives. Catch up with Mike at an upcoming SNP Event…