- Not production ready!
This is a small demo for running a MaxScale database proxy in your MariaDB Galera Cluster. Docker hub : bstaijen/mariadb-maxscale-for-galera-cluster
This project consists out of one docker image. The docker image depends on consul for service discovery. The demo uses gliderlabs/registrator for its service registration. If set up the right way MaxScale will automatically connect and load balance between the MariaDB Galera instances.
- gliderlabs/docker-consul - For MariaDB Server Discovery
- gliderlabs/registrator - For Automatic Server Registration
- mariadb-disover-tool - For querying Consul Registry
CONSUL_HOST- Link to consul instance. eg:CONSUL_HOST=consul:8500GALERA_SERVICE_NAME- Name of the galera services in consul. eg:GALERA_SERVICE_NAME=galera-db
- TODO
- Testing / Debugging
- Write usages
- Implement healthchecks
- Monitoring
- Auto Fail Over?
- etc
- ?