Closed tafoya closed 5 months ago
From a quick look at the code there doesn't appear to be. I would be interested in this feature as well.
Looks like it can be set but the startup script hard codes the port when waiting for the db to come up.
It looks like env
is just passed to setup-seafile-mysql.py
here. Would it be as simple as adding 'MYSQL_PORT': get_conf('DB_PORT','3306'),
to env
and updating the wait function to read from the environment?
Looks like someone even made a PR already: https://github.com/haiwen/seafile-docker/pull/161
It is supported in the latest version: https://manual.seafile.com/docker/deploy_seafile_with_docker/#use-an-existing-mysql-server
Is there an environment variable to specify a custom MySQL port?