Roundcube Community Forum

 

Roundcube in Docker ignores config in /var/roundcube/config

Started by MagTheRose, October 31, 2024, 09:54:16 AM

Previous topic - Next topic

MagTheRose

Hi,
I'm running roundcube (1.6.9) from the official docker-repo (roundcube/roundcubemail:1.6.9-apache).

According to the README, I should place my custom config in /var/roundcube/config.

Therefore, I created a bind-mount for this directory and put my config there.

Unfortunately, it doesn't get loaded...

If I put it manually in the global config:
echo "    include('/var/roundcube/config/config.inc.php');" >> /var/www/html/config/config.inc.phpit loads and the config applies, but if I get the README right, this should be loaded automatically? Moreover, put this line manually to the global config, it's not persistent.

On the other hand, it just contains the URL for the managesieve (which defaults to localhost, which does not apply on docker-based installations), but there seems no ENV-Variable to set the managesieve-host? If there's one, the additional config is obsolete for me (at the moment).

itinerary976

I was facing the same issue and just made an account to post the solution.

In my infinite genius I forgot to add the php opening and closing tags.

<?php
$config
["key"] = "value";
?>


Even if you are no longer plagued by this, I hope to at least help out others who come across this looking for help.