This PR makes the hardcoded mysql-root-user configurable by adding MYSQL_ROOT_USER to the environment-file.
The default for MYSQL_ROOT_USER is root so it won't break existing setups.
We came across this issue as we wanted to use docker-otrs within our Microsoft Azure environment. Unfortunately "Azure Database for MySQL" enforces the usernames to be something like root@db-instance-name. So we need the option to specify the username.
This PR makes the hardcoded mysql-root-user configurable by adding
MYSQL_ROOT_USER
to the environment-file. The default forMYSQL_ROOT_USER
is root so it won't break existing setups.We came across this issue as we wanted to use
docker-otrs
within our Microsoft Azure environment. Unfortunately "Azure Database for MySQL" enforces the usernames to be something likeroot@db-instance-name
. So we need the option to specify the username.