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
Docker for WordPress

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

February 07, 2018 | By Michael Brooks

Docker for WordPress

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!

Headshot of Michael Brooks
Author:
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…