There seems to be no DB_PORT. DB_HOST accepts no port!

When you create a seafile-mc docker, the container works with no other port than 3306 for MariaDB.

Example 1:
MariaDB docker is reachable on 192.168.1.11:3306
Seafile Docker: DB_HOST = 192.168.1.11

Result: everything works. DB connection is good.

Example 2:
MariaDB docker is reachable on 192.168.1.11:5555
Seafile Docker: DB_HOST = 192.168.1.11:5555

Result:
(2003, “Can’t connect to MySQL server on ‘192.168.1.11:5555’ ([Errno -2] Name or service not known)”)

Conclusion:
Nothing changed other than port. DB_HOST does not seem to expect a ‘:PORT’

Variable DB_PORT does not exists.

How does someone reach a MariaDB which does not run on 3306?

It seems to be hardcoded:
Please don’t assume the port and instead read it from a env like DB_PORT