-
Notifications
You must be signed in to change notification settings - Fork 462
Support adding custom configurations in /etc/phpmyadmin/conf.d
#401
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
Conversation
|
Good idea |
/etc/phpmyadmin/conf.d need to check whether /etc/phpmyadmin/conf.d exists
williamdes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, can you add some documentation on the README for that?
|
You may be interested to translate phpMyAdmin in your language: https://hosted.weblate.org/projects/phpmyadmin/5-2/th/ Did I get it right? |
Did I get it right? |
I use google translate to translate my thoughts into English, what do you think? Adding Custom Configuration into /etc/phpmyadmin/conf.dInstead of using On the docker run --name phpmyadmin -d --link mysql_db_server:db -p 8080:80 -v /some/local/directory/conf.d:/etc/phpmyadmin/conf.d phpmyadmin:latestThen you can create db1.php , db2.php , or any file name you want, and store them in the |
Okay, It's doing well. Do you speak other languages ? You can change the line from - /some/local/directory/conf.d:/etc/phpmyadmin/conf.d
+ /some/local/directory/conf.d:/etc/phpmyadmin/conf.d:roTo make the mount read-only.
you can also consider storing your custom configuration files in the folder
which is very suitable for managing multiple phpMyAdmin configuration files for different hosts
Then you can create |
Sorry, I only speak Chinese and poor English |
Okay, if you are interested (no obligation at all) you can help with translations in Chinese: |
|
let me know when it's okay for the README. I can improve it while I merge your work |
williamdes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One line you could add is about permissions, the folder and files should be readable from the phpMyAdmin container. Or it will not work at all.
I have a question, is it necessary to use |
From a security point of view, it's better to say to the user we do not need write access. If you need write access, feel free to use |
/etc/phpmyadmin/conf.d
#319