-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added option to include adminer or phpmyadmin. #236
Conversation
Hi @michael-milette,
These are tools absolutely not related with the Moodle code and its dependencies i.e. they could not obey to the rule above: for your consideration - you could even add an optional TIA, |
Hi @scara I am not sure what you mean. Are you suggesting that I add a MOODLE_DOCKER_DB_MANAGER_VERSION setting, or are you saying that you are not interested in this contribution? Best regards, Michael |
Hi @michael-milette, Mine was a quick glance PR given the "coding style" actually used in the other Docker Compose HTH, |
3330638
to
5f5cbc9
Compare
Thanks for the feedback and clarification @scara . It helped. :-) I added the version tags for both Adminer and phpMyAdmin as you suggested. Best regards, Michael |
Hi @michael-milette,
Glad for it! I'm not English native and I can be easily misunderstood 😉. Another round on top of your new 5f5cbc9.
Doing so, the user can benefit of any security release - if she/he drops the local image first! - thanks to the (kind of) semantic versioning of that tag and we do not need to update the Moodle Docker Toolbox to avoid security issues in the DB Managers - even if this toolbox is for local development. My position:
HTH, |
See #242 for an example of how this could instead be solved. |
I'm closing this in favour of #242 that seems to be the correct way to go. |
This fix addresses the feature request described in issue #235 . It gives you the option of adding Adminer or phpMyAdmin.
To use, just export MOODLE_DOCKER_DB_MANAGER= either
adminer
orphpmyadmin
and start your containers as usual. The selected tool will be available on http://localhost:8900. If this environment variable is not set, neither of these tools will be installed.You can optionally change the port number by setting MOODLE_DOCKER_DB_MANAGER_PORT to a different number.
For more information, see README.md. As noted in the documentation, while Adminer supports all databases, phpMyAdmin is only for MySQL and MariaDB.
Let me know if you have any questions or concerns.
Best regards,
Michael Milette