Hey everyone, new instance admin here after following the Ansible setup.
I’m curious about how to switch from block storage for images to object storage - it’s marked as possible in the documentation but I’m not sure how to do so when the application is dockerized (as it is on a standard install.)
Any other instance admins have advice?
Is it possible to hook up pixelfed to work with? since it is part of fediverse there should be something
deleted by creator
A few days ago I heard from a BeeHaw.org admin that their whole instance only takes 25GB right now. But it’s always good to be prepared to scale up I suppose.
I mounted an S3 bucket to my VPS using s3fs, and set that as the folder for pict-rs. I haven’t noticed any issues with this method yet.
It might also be possible to do using docker storage drivers, but I haven’t looked into that.
Hmm. Hooking fs willy nilly might present some unexpected challenges.
Hmm, I wasn’t aware yet that pict-rs has built in S3 support, I was looking at docs for an older version. For anyone else looking for the docs, you can find them for v0.3.3 here.
Did you look at the
pict-rs
filesystem command? I haven’t tried it but from the pict-rs docs it looks like it does exactly what you want.It appears the version of pict-rs used in the ansible build is an older one with different commands. I didn’t choose to upgrade it for risk of messing with Lemmy Compatibility.
Oh, I did read that in a Lemmy GitHub issue but forgot until you reminded me. They haven’t upgraded yet. I have no idea if it’s a smooth/compatible upgrade or if the Lemmy devs need to update code to remain compatible. If you don’t want to go wandering into potential breakage, yeah, you probably want to sit tight until the version of pict-rs gets updated. Hopefully there’s a simple migration available then though.
You figure it out yet? I’m going to be doing the same soon :)