wordpress

Running Wordpress with php 8, docker-compose, and traefik

This is an update of a previous post on running a fresh Wordpress installation with Docker. Details on the docker-compose.yml in that post remain basically accurate, but I’m reporting here an updated Dockerfile based on php 8, as well as some quick fixes for common problems. Dockerfile ready for Wordpress based on Php 8 (php:8.0-apache) N.B. This is a basic Docker image that comes with an empty server directory, no Worpdress pre-installed.

Testing Wordpress with different php versions with docker-compose and traefik

2023 update: if you are just looking for a basic and updated php-based Dockerfile for Wordpress, with its own Traefik-based docker-compose.yml, check out this post. If you are interested in testing older php versions, read on. As of Autumn 2019, many Wordpress users will likely have found a warning suggesting they must update php on their server. As php 5.6 has reached end of life in 2018, this is well needed.