{"id":15874407,"url":"https://github.com/garutilorenzo/mysqlrouter","last_synced_at":"2025-07-14T18:18:32.107Z","repository":{"id":154321733,"uuid":"341869459","full_name":"garutilorenzo/mysqlrouter","owner":"garutilorenzo","description":"Unofficial MySQL Router docker image","archived":false,"fork":false,"pushed_at":"2022-08-30T11:08:19.000Z","size":40,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T05:11:31.029Z","etag":null,"topics":["databases","docker","docker-container","docker-image","mysql","mysql-router","mysqlrouter"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garutilorenzo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-24T10:54:36.000Z","updated_at":"2024-06-15T09:05:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"13d840fe-7aa4-44ec-8590-d0c07187af28","html_url":"https://github.com/garutilorenzo/mysqlrouter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Fmysqlrouter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Fmysqlrouter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Fmysqlrouter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Fmysqlrouter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garutilorenzo","download_url":"https://codeload.github.com/garutilorenzo/mysqlrouter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806122,"owners_count":20350773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["databases","docker","docker-container","docker-image","mysql","mysql-router","mysqlrouter"],"created_at":"2024-10-06T01:22:08.111Z","updated_at":"2025-03-16T05:31:02.057Z","avatar_url":"https://github.com/garutilorenzo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![MySQL Router Build](https://github.com/garutilorenzo/mysqlrouter/actions/workflows/docker-image.yml/badge.svg)\n[![GitHub issues](https://img.shields.io/github/issues/garutilorenzo/mysqlrouter)](https://github.com/garutilorenzo/mysqlrouter/issues)\n![GitHub](https://img.shields.io/github/license/garutilorenzo/mysqlrouter)\n[![GitHub forks](https://img.shields.io/github/forks/garutilorenzo/mysqlrouter)](https://github.com/garutilorenzo/mysqlrouter/network)\n[![GitHub stars](https://img.shields.io/github/stars/garutilorenzo/mysqlrouter)](https://github.com/garutilorenzo/laravel-docker/stargazers)\n\n# MySQL Router docker image\n\n* [MySQL Router](https://dev.mysql.com/doc/mysql-router/8.0/en/) - MySQL Router is part of InnoDB Cluster, and is lightweight middleware that provides transparent routing between your application and back-end MySQL Servers\n\n## Differences from official mysql router image\n\n* MySQL Router runs in /app/mysqlrouter\n* MySQL Router persist configurations on /app/mysqlrouter path (if volume is attached see docker-compose.yml)\n* MySQL Router run a [bootstrap](https://dev.mysql.com/doc/mysql-router/8.0/en/mysql-router-deploying-bootstrapping.html) only if no configuration is found in /app/mysqlrouter\n* Healtcheck is disabled by default, it can be enabled if necessary (see docker-compose.yml.healtcheck)\n* MySQL Router doesn't wait for all cluster members to be up\n\n## Environment variables\n\nThis container accept this environment variables:\n\n| Variable   | Required | Description |\n| ------- | -------- | ----------- |\n| `MYSQL_HOST` | `yes` |  master node |\n| `MYSQL_PORT` | `yes` |  mysql port |\n| `MYSQL_USER` | `yes` |  mysql user with necessary grants |\n| `MYSQL_PASSWORD` | `yes` |  password of MYSQL_USER |\n| `MYSQL_HC_USER` | `no` |  mysql healtcheck user with necessary grants (optional) |\n| `MYSQL_HC_PASWORD` | `no` |  mysql healtcheck user password (optional)\n| `MYSQL_ROUTER_ACCOUNT` | `no` |  mysql user created when mysqlrouter run a bootstrap |\n| `MYSQL_ROUTER_PASSWORD` | `no` |  password of MYSQL_ROUTER_ACCOUNT |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarutilorenzo%2Fmysqlrouter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarutilorenzo%2Fmysqlrouter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarutilorenzo%2Fmysqlrouter/lists"}