this post was submitted on 13 Jun 2023
15 points (100.0% liked)

Lemmy Support

4654 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] Crackhappy 1 points 1 year ago (1 children)

Hmm. Hooking fs willy nilly might present some unexpected challenges.

[–] [email protected] 1 points 1 year ago

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.