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 | By Michael Brooks

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!

Mike Linkedin Profile

Michael Brooks is the Director of Development at SNP Technologies. Since 1996 he has been the customer point person for nearly every software project undertaken by SNP Technologies. He assumes responsibility for project coordination through on-site and remote customer meetings, documentation of requirements and collaboration with development staff. His specialties include- Business problem analysis, Functional requirement and technical specification documentation, Website, desktop software, and mobile app development, Management of on-shore and off-shore programming teams, Web technologies: Drupal CMS; ASP.Net & ColdFusion, Microsoft SQL Server Database and Report design/administration, Web server administration on Windows Server w/ IIS and LAMP (Linux, Apache, MySQL, PHP).