containers
containers copied to clipboard
[bitnami/moodle] Use default moodle db env vars in post-init.d script #68054
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