A docker-compose setup for testing MaxScale locally.
This sets up a four node master-slave cluster with the master on port 3000 and
the slaves on ports 3001-3003. The maxuser@%
and maxuser@127.0.0.1
users are
created with the password maxpwd
.
To start it, run the following command in the root directory.
docker-compose up -d
To stop it, run this command.
docker-compose down -v
Read docker-compose --help
for more details.