Sign inSign up

moveyourdigital/wordpress

By moveyourdigital

•Updated over 4 years ago

WordPress, PHP-FPM, OpCache, APCu, S3-Uploads, WP-CLI, Composer

Image
0

310

moveyourdigital/wordpress repository overview

Maintained by: Move Your Digital⁠

ATTENTION: Pull from a valid tag, this repository does not distribute a latest tag.

⁠WordPress for Docker (extends official image)

The official image works well for a simple WordPress installation, however, what happens if you want to deploy WordPress in Docker Swarm and scale it for more than two instances?

This Dockerfile has built-in steroids to handle scalling and includes:

Does it sound awesome? Give it a try!

⁠Usage

Refer to the docker-compose.yml file for a comprehensive example.

⁠Architectural concept

The main idea was to scale WordPress using two Docker Swarm nodes. We manage to have it with the following architecture:

  • One WordPress instance running in each node
  • Memcached running in one node
  • A AWS S3 bucket to store media
  • One MariaDB Maxscale⁠ running in one node
  • One master MariaDB running in the first node
  • One slave MariaDB running in the second node

Tag summary

Content type

Image

Digest

Size

244.1 MB

Last updated

over 4 years ago

docker pull moveyourdigital/wordpress:6.0-php8.0-fpm