Skip to content

Latest commit

 

History

History
59 lines (49 loc) · 2.17 KB

README.md

File metadata and controls

59 lines (49 loc) · 2.17 KB

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: