Skip to content

Commit f366072

Browse files
committed
Updated README
1 parent e6a9320 commit f366072

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,21 @@
1212

1313
* MySQL Router runs in /app/mysqlrouter
1414
* MySQL Router persist configurations on /app/mysqlrouter path (if volume is attached see docker-compose.yml)
15-
* MySQL Router run a "bootstrap" only if no configuration is found in /app/mysqlrouter
15+
* 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
1616
* Healtcheck is disabled by default, it can be enabled if necessary (see docker-compose.yml.healtcheck)
1717
* MySQL Router doesn't wait for all cluster members to be up
1818

1919
## Environment variables
20-
* MYSQL_HOST: master node
21-
* MYSQL_PORT: mysql port
22-
* MYSQL_USER: mysql user with necessary grants
23-
* MYSQL_PASSWORD: mysql user password
24-
* MYSQL_HC_USER: mysql healtcheck user with necessary grants (optional)
25-
* MYSQL_HC_PASWORD: mysql healtcheck user password (optional)
20+
21+
This container accept this environment variables:
22+
23+
| Variable | Required | Description |
24+
| ------- | -------- | ------- | ----------- |
25+
| `MYSQL_HOST` | `yes` | master node |
26+
| `MYSQL_PORT` | `yes` | mysql port |
27+
| `MYSQL_USER` | `yes` | mysql user with necessary grants |
28+
| `MYSQL_PASSWORD` | `yes` | password of MYSQL_USER |
29+
| `MYSQL_HC_USER` | `no` | mysql healtcheck user with necessary grants (optional) |
30+
| `MYSQL_HC_PASWORD` | `no` | mysql healtcheck user password (optional)
31+
| `MYSQL_ROUTER_ACCOUNT` | `no` | mysql user created when mysqlrouter run a bootstrap |
32+
| `MYSQL_ROUTER_PASSWORD` | `no` | password of MYSQL_ROUTER_ACCOUNT |

0 commit comments

Comments
 (0)