Created
August 6, 2017 19:12
-
-
Save hjanuschka/78603c8ba7390509619bfafb88ac822a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# master slave replica. | |
https://github.com/bitnami/bitnami-docker-mysql/blob/master/docker-compose-replication.yml | |
# mysql-proxy with rw-splitting. | |
https://github.com/vimagick/dockerfiles/blob/master/mysql-proxy/docker-compose.yml | |
use rwsplitting.lua and set ` --proxy-backend-addresses` to the master/writeable nodes. | |
and `--proxy-read-only-backend-addresses` to the read replicas. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment