Scripts to automate the setup of MariaDB replication using docker.
Deploy a master-master setup with MariaDB v10.1.48
MARIADB_VERSION=10.1.48 ./deploy.sh master-masterThis will deploy two mutually replicated MariaDB containers mariadb-a and mariadb-b.
Deploy a master-slave setup with MariaDB v10.1.48
MARIADB_VERSION=10.1.48 ./deploy.sh master-slaveThis will deploy two replicated MariaDB containers mariadb-a and mariadb-b, where mariadb-b is the slave.