haiwen / seafile-docker

A Docker image for Seafile server
Other
544 stars 183 forks source link

Add support for non-root MySQL databases #195

Closed Grendel7 closed 5 months ago

Grendel7 commented 4 years ago

Fix for issue #194

oexar commented 4 years ago

also the database port is hardcoded

It would be great to be able to change it with something like :

db_port = get_conf('DB_PORT '3306')

Neamar commented 4 years ago

Hey there! So if I understand correctly:

If so, I'm probably going to try setting it up :)

mlazzarotto commented 1 year ago

Bumping the thread, it's 2023 guys...

freeplant commented 5 months ago

The latest version already support using external database: https://manual.seafile.com/docker/deploy_seafile_with_docker/#use-an-existing-mysql-server

And DB_ROOT_PASSWD is needed during installation. Later, after Seafile is installed, the user seafile will be used to connect to the mysql-server (in conf/seafile.conf). You can remove the DB_ROOT_PASSWD.