MySQL master-slave replication inside docker containers
docker and fig are required for this to work.
Installation and run.
$ git clone https://github.com/zckri/mysql-shotgun.git
$ cd mysql-shotgun
$ fig up
Accessing db
- master: root@localhost:3306
- slave: root@localhost:3307
- creditentials: root/masterpass12
see this and also this to change your creditentials
cheers,
zckri