Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

moveyourdigital/docker-wordpress-fpm

Repository files navigation

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

About

WordPress, PHP-FPM, WP-CLI, A

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published