iredmail / dockerized

Official dockerized iRedMail.

Home Page:https://www.iredmail.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MariaDB Settings Ignored

sduensin opened this issue · comments

The settings:

SQL_SERVER_ADDRESS=127.0.0.1
SQL_SERVER_PORT=3306

Seem to be ignored. Changing them does nothing. :-(

  • Where do you save these 2 settings?
  • Did you restart container?

I put them in the env file when I first created the container. New info: All the databases were created on the internal MariaDB instance and not my main database server. However, when going to access Roundcube I get an error about not being able to reach the database. So maybe the apps are using the settings but not the initial DB creation?

However, when going to access Roundcube I get an error about not being able to reach the database.

Is Roundcube configured to use correct sql username and password in /opt/www/roundcubemail/config/config.inc.php?

I assume so. I set the password for all the databases and told it not to randomize them.

Please try to verify the SQL username / password with MySQL command line tool, make sure it's actually correct.

I think the problem is that during startup it's ignoring the SQL_SERVER_* settings and later is honoring them. When I set it to my own server, the tables are still created in the MariaDB instance that is part of the iRedMail Docker image. I don't want to use that instance as all my other data is in another server.