Change some presets for database and file storrage

Hi folks,
thank you for this great piece of software.
A short question…is it possible during the installation to setup or link database to my local MariaDB Server. I run the seafile in an ubuntu VM which runs in VirtualBox and would like to mount the directory for all the data (files and folders) on the (host)NAS and also use MariaDB on the NAS in case that the NAS not supports all the packages which seafile needs so it’s easier for me to use this VM to run seafile and use Database and storrage on the host.

Best Theo