Awesome Open Source
Awesome Open Source

Docker-based WordPress Stack

Build Status


Docker4WordPress is a set of docker images optimized for WordPress. Use docker-compose.yml file from this repository to spin up a local environment for WordPress on Linux, macOS and Windows.


The WordPress stack consist of the following containers:

Container Versions Image ARM64 support Enabled by default
Nginx 1.21, 1.20, 1.19 wodby/nginx
Apache 2.4 wodby/apache
WordPress 5 wodby/wordpress
PHP 8.1, 8.0, 7.4 wodby/wordpress-php
Crond wodby/wordpress-php
MariaDB 10.2-10.7 wodby/mariadb
Redis 6, 5 wodby/redis
Memcached 1 wodby/memcached
Varnish 6.0, 4.1 wodby/varnish
Node.js 16, 14, 12 wodby/node
Solr 8, 7, 6, 5 wodby/solr
Elasticsearch 7, 6 wodby/elasticsearch
Kibana 7, 6 wodby/kibana
AthenaPDF 2.16.0 arachnysdocker/athenapdf-service
Mailhog latest mailhog/mailhog
OpenSMTPD 6.0 wodby/opensmtpd
Rsyslog latest wodby/rsyslog
Blackfire latest blackfire/blackfire
Webgrind 1 wodby/webgrind
XHProf viewer latest wodby/xhprof
Adminer 4.6 wodby/adminer
phpMyAdmin latest phpmyadmin/phpmyadmin
Traefik latest _/traefik


Full documentation is available at

Images' tags

Images tags format is [VERSION]-[STABILITY_TAG] where:

[VERSION] is the version of an application (without patch version) running in a container, e.g. wodby/nginx:1.15-x.x.x where Nginx version is 1.15 and x.x.x is a stability tag. For some images we include both major and minor version like PHP 7.2, for others we include only major like Redis 5.

[STABILITY_TAG] is the version of an image that corresponds to a git tag of the image repository, e.g. wodby/mariadb:10.2-3.3.8 has MariaDB 10.2 and stability tag 3.3.8. New stability tags include patch updates for applications and image's fixes/improvements (new env vars, orchestration actions fixes, etc). Stability tag changes described in the corresponding a git tag description. Stability tags follow semantic versioning.

We highly encourage to use images only with stability tags.


We regularly update images used in this stack and release them together, see releases page for full changelog and update instructions. Most of routine updates for images and this project performed by the bot via scripts located at wodby/images.

Beyond local environment

Docker4WordPress is a project designed to help you spin up local environment with docker-compose. If you want to deploy a consistent stack with orchestrations to your own server, check out WordPress stack on Wodby Wodby.

Other Docker4x projects


This project is licensed under the MIT open source license.

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Shell (169,262
Docker (96,957
Wordpress (29,594
Stack (16,117
Docker Compose (8,221
Phpmyadmin (1,611
Arm64 (780
Portainer (458