containers icon indicating copy to clipboard operation
containers copied to clipboard

[bitnami/moodle] Use default moodle db env vars in post-init.d script #68054

Open ThomasRasmussen opened this issue 1 year ago • 0 comments

Description of the change

When mounting post-init sql scripts, use MOODLE_DATABASE environment variables by default unless the MARIADB environment variables have been specified.

Benefits

Allow easier configuration of the moodle installation as we use the same database user that moodle will use to connect.

Possible drawbacks

If for some reason you need to run something as root user, then you need to specify these credentials.

Applicable issues

  • fixes #68054

Additional information

ThomasRasmussen avatar Jun 25 '24 10:06 ThomasRasmussen