Is it possible to change where files are hosted to another volume?
-
Happy New Year all!
I've got a question about moving where Surfer app files are stored.
Context
(This Cloudron is a home hosted instance. App data directory is on the same disk as Cloudron OS)I want to host some large files (e.g. +4GB operating system images) with the Surfer app. The files are too large to host in the Data Directory (Default location
/app/data/public
on the same physical disk as the machine OS).I've added an external Mounts (a large USB disk I use for files) -
/media/10tbfilestorage
. The surfer app has RW access.I can't see a way or a config file to change the storage directory to the 10TB storage. I've checked the app documentation but can't see a way.
What happens now
When I upload files to the Surfer app, they're uploaded to the default location/app/data/public
.What I want to happen
When I upload files to the Surfer app, they're uploaded to the USB disk mount.Is it possible to move that file storage location? Or do I need to move the whole Data Directory from the
/appdata/public
location to the/media/10tbfilestorage/
location?Thanks.
-
-
@nebulon said in Is it possible to change where files are hosted to another volume?:
Surfer only has one data root, which is set to
/app/data/public
within the app on Cloudron. To serve up files from other volumes/disks you can just change the data directory of the whole app https://docs.cloudron.io/apps/#data-directoryHi @nebulon and that then moves the app config files to the external mount (in my case the USB disk). Right?
-
-