Sign inSign up

garutilorenzo/mysqlrouter

By garutilorenzo

Updated about 4 years ago

MySQL Router image

Image
0

1.5K

garutilorenzo/mysqlrouter repository overview

MySQL Router Build GitHub issues GitHub GitHub forks GitHub stars

MySQL Router docker image

  • MySQL Router - MySQL Router is part of InnoDB Cluster, and is lightweight middleware that provides transparent routing between your application and back-end MySQL Servers

Differences from official mysql router image

  • MySQL Router runs in /app/mysqlrouter
  • MySQL Router persist configurations on /app/mysqlrouter path (if volume is attached see docker-compose.yml)
  • MySQL Router run a "bootstrap" only if no configuration is found in /app/mysqlrouter
  • Healtcheck is disabled by default, it can be enabled if necessary (see docker-compose.yml.healtcheck)
  • MySQL Router doesn't wait for all cluster members to be up

Environment variables

  • MYSQL_HOST: master node
  • MYSQL_PORT: mysql port
  • MYSQL_USER: mysql user with necessary grants
  • MYSQL_PASSWORD: mysql user password
  • MYSQL_HC_USER: mysql healtcheck user with necessary grants (optional)
  • MYSQL_HC_PASWORD: mysql healtcheck user password (optional)

Tag summary

Content type

Image

Digest

sha256:935524ecf

Size

89.9 MB

Last updated

about 4 years ago

docker pull garutilorenzo/mysqlrouter