Skip to content

Dockerized Wordpress swarm cluster with self signed certificate

Notifications You must be signed in to change notification settings

herzog-network/wpcluster_poc

Repository files navigation

PROOF OF CONCEPT

Dockerized Wordpress swarm cluster with self signed certificate.

wpc

Services

  • Docker Swarm
  • GlusterFS
  • MariaDB
  • Wordpress
  • UFW as firewall
  • Self signed cert
  • HAProxy as Loadbalancer
  • Optional: LetsEncrypt integration

Limitations

  • There will be a short interruption if the database serving node dies
  • Rootless mode is not supported for overlay networks (used in swarm mode)

Improve:

Verified OS

  • Ubuntu Srv 20.10
  • CentOS 7

Verified Docker version

  • 20.10.2

HAproxy stats

Usage

  • setup 4 dedicated docker nodes
  • execute all commands within setup.sh
  • start wpcluster
    • cd /home/swarm && wget https://raw.githubusercontent.com/herzog-network/wpcluster_poc/master/startup.sh && chmod 777 startup.sh
    • sudo -H -u swarm bash -c ./startup.sh
  • LetsEncrypt (optional)

Links / Credits:

About

Dockerized Wordpress swarm cluster with self signed certificate

Topics

Resources

Stars

Watchers

Forks

Languages