Submitted by Jatinder on Wed, 02/07/2018 - 08:14

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!

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

A Docker container solution for WordPress on Azure Web App for Containers

February 07, 2018

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!