Customizing configuration ΒΆ

Additionally configuration can be tweaked by /etc/phpmyadmin/config.user.inc.php. If this file exists, it will be loaded after configuration is generated from above environment variables, so you can override any configuration variable. This configuration can be added as a volume when invoking docker using -v /some/local/directory/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php parameters.

Note that the supplied configuration file is applied after Docker environment variables, but you can override any of the values.

For example to change the default behavior of CSV export you can use the following configuration file:

<?php $cfg['Export']['csv_columns'] = true; 

You can also use it to define server configuration instead of using the environment variables listed in Docker environment variables:

<?php /* Override Servers array */ $cfg['Servers'] = [     1 => [         'auth_type' => 'cookie',         'host' => 'mydb1',         'port' => 3306,         'verbose' => 'Verbose name 1',     ],     2 => [         'auth_type' => 'cookie',         'host' => 'mydb2',         'port' => 3306,         'verbose' => 'Verbose name 2',     ], ]; 

See also

See Configuration for detailed description of configuration options.