-
I added a volume to my cloudron Digital Ocean droplet on the Volumes menu. and followed their config instructions to mount it to a mount point.
Then in cloudron under the main settings menu under volumes I added the volume with a filesystem mount point. Here's what it looks like after being setup:
Once it was added as a mount point I could add the volume and select it from the list as shown in @subven 's screenshots.
Is that enough to get you going?
-
@scooke see my second screenshot above. You can transfer the whole data directory to the mounted volume so it can be used with any app. The other option is to add a volume as mount point inside the container so the app can utilize it. If Mastodon has the option to configure media/cache/other directorys, this could be utilized this way.
-
@Supaiku I believe you both, I still don't get it! So, Cloudron lets you move the entire app off of the Cloudron disk to the external Volume, and it runs from there? My mind isn't grasping that because when I've used external Volumes for data , it keeps disconnecting. So, how could an entire app run off of the external volume?
If the app itself stays on the Cloudron, then how does Mastodon, or Cloudron, know what the Data is to move to the external Volume? Because, from what I understand, within Mastodon you need to tell it where the external data store is. Is this automatically done by Cloudron then if you choose the external Volume at its mount point?
-
@scooke easy. Cloudrons app packages just contain the core app packed as docker container. Everything you customize or create during runtime is stored in appdata. You can move the appdata directory to another location outside of Cloudron but the app itself will still be powered and maintained by Cloudron. Read the docs (data-directory)
-
Yesterday, we pushed a package which prunes the cache a bit more aggressively - https://git.cloudron.io/cloudron/mastodon-app/-/commit/87e046061335a04c96cd9a133c4bf679caeacb2a . Atleast, in our instance, that brought down the cache size from 12G to almost 2GB.