Closed akopper closed 5 months ago
Yes, it would be great to be able to configure an external database server.
Agreed, not safe anyway to have the root password of a component in a configuration. Currently, running it with custom /scripts/utils.py mounted, so I could replace the user in https://github.com/haiwen/seafile-docker/blob/d20a40767de91c20adbe576e79ee8586428051a6/scripts_8.0/utils.py#L271
The root user and password can be removed after the initial setup (creating the database tables and the seafile database user). External database is also supported in the latest version.
https://manual.seafile.com/docker/deploy_seafile_with_docker/#use-an-existing-mysql-server
Currently it's only possible to connect to a mysql instance as root.