Skip to content

Commit 47a3db4

Browse files
authored
Adding Custom Configuration in /etc/phpmyadmin/conf.d
1 parent f8edb1c commit 47a3db4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ See the following links for config file information:
136136
* https://docs.phpmyadmin.net/en/latest/config.html#config
137137
* https://docs.phpmyadmin.net/en/latest/setup.html
138138

139+
## Adding Custom Configuration in /etc/phpmyadmin/conf.d
140+
141+
you can also consider storing your custom configuration files in the folder /etc/phpmyadmin/conf.d, which is very suitable for managing multiple phpMyAdmin configuration files for different hosts,Then you can create server-1.php , server-2.php , or any file name you want, and store them in the conf.d directory mounted on the host.
142+
143+
On the docker run line like this:
144+
145+
docker run --name phpmyadmin -d --link mysql_db_server:db -p 8080:80 -v /some/local/directory/conf.d:/etc/phpmyadmin/conf.d:ro phpmyadmin:latest
146+
139147
## Usage behind a reverse proxy
140148

141149
Set the variable ``PMA_ABSOLUTE_URI`` to the fully-qualified path (``https://pma.example.net/``) where the reverse proxy makes phpMyAdmin available.

0 commit comments

Comments
 (0)