docker icon indicating copy to clipboard operation
docker copied to clipboard

how about support /etc/phpmyadmin/conf.d ?

Open pigochu opened this issue 5 years ago • 1 comments

As title

I don't want modify config.user.inc.php

If I create a custom phpmyadmin image for my team members , Other member can define custom config in config.user.inc.php. But this image need load other special config . So I hope it can support /etc/phpmyadmin/conf.d , let us put config.

pigochu avatar Jan 19 '21 10:01 pigochu

Hi @pigochu I am in favor of this option as it already exists on the Debian package: https://salsa.debian.org/phpmyadmin-team/phpmyadmin/-/blob/debian/4%255.1.1+dfsg1-2/debian/conf/config.inc.php#L159

@J0WI any opinions about this ?

williamdes avatar Aug 13 '21 01:08 williamdes

This would be great!

LeeThompson avatar Nov 01 '22 20:11 LeeThompson

Can this function be implemented? Because I found that when I mount config.user.inc.php on the host as a volume, when I use vim to edit config.user.inc.php, then the container will find The name and attributes of the file become a bunch of question marks, and if you want to view the file in the container, there will be a stale file handle error. I think using conf.d can avoid this problem.

pigochu avatar Mar 22 '23 00:03 pigochu

Can this function be implemented? Because I found that when I mount config.user.inc.php on the host as a volume, when I use vim to edit config.user.inc.php, then the container will find The name and attributes of the file become a bunch of question marks, and if you want to view the file in the container, there will be a stale file handle error. I think using conf.d can avoid this problem.

For sure, I would like to have it too. You can send a PR for it before someone has the chance to do it This file is probably the one that should be edited: https://github.com/phpmyadmin/docker/blob/0006406e352ddd5addd5122de53fe354307b2460/config.inc.php#L159-L161

williamdes avatar Mar 28 '23 19:03 williamdes

Done in #401

williamdes avatar Jul 14 '23 07:07 williamdes