docker icon indicating copy to clipboard operation
docker copied to clipboard

Adding option for custom themes in Environment variables

Open ymederuiter opened this issue 1 year ago • 0 comments

Hello,

I've been trying to add custom themes as default. By adding 'PMA_THEMEDEFAULT', to the $vars in config.inc.php and adding the code below to the bottom of this config file.

/* Configure custom themes as default */
if (isset($_ENV['PMA_THEMEDEFAULT'])){
    $cfg['ThemeDefault'] = $_ENV['PMA_THEMEDEFAULT'];
}

This made possible to create an ENV option like: - PMA_THEMEDEFAULT=blueberry to a docker compose file. I think more people are looking for this option. Is it possible to add this to the main configuration?

ymederuiter avatar Mar 19 '24 20:03 ymederuiter