WordPress in Docker

We run this blog and many others as Docker containers. In this post you will learn how to accomplish that.

Repository: https://github.com/GSCloud/docker_wordpress Demo: https://wordpress-in-docker.mxd.cz/

WordPress in Docker consists of three service containers: WordPress, phpMyAdmin and MariaDB. WordPress and MariaDB use local volumes to store persistence data, PMA and WP are both enhanced with uploads.ini injections to modify the default PHP settings. WP and PMA containers connect directly to the MariaDB container.

WordPress output is then passed through Apache 2.4 proxy with Cloudflare certificates (not part of the demo).