A simple setup to deploy MySQL Galera Cluster using docker stack deploy
(Swarm).
- Install Docker.
- Clone this repository
- Deploy
Deploy this stack on a manager node inside your Swarm cluster:
docker stack deploy -c docker-stack.yml pxc
You can then access MySQL Galera Cluster by using the IP address of any node in your Swarm cluster over port 3306 with the TCP.