Support adding custom configurations in /etc/phpmyadmin/conf.d#401
Support adding custom configurations in /etc/phpmyadmin/conf.d#401williamdes merged 4 commits intophpmyadmin:masterfrom
/etc/phpmyadmin/conf.d#401Conversation
|
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.
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.
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