this post was submitted on 04 Nov 2023
17 points (94.7% liked)

Lemmy

12519 readers
94 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

I'm running a small Lemmy server using the Ansible setup modified to our needs. Now, we do not post that many (if any) images, but I'm also running an Akkoma server with Cloudflare R2 setup for images, and I was wondering is there an easy way to just set the Lemmy server to use this bucket? Would be better than to just keep them lying around in the server disk for sure.

If somebody else did this, is there any written documentation on the best practices? I might need to (again) modify the Ansible scripts, but I'd love to not waste time making mistakes if there's a good way to do this.

you are viewing a single comment's thread
view the rest of the comments

Pictrs can use blob storage, there are environment variables for it's container to swap it over. Now that you will have to do a migration too, but pictrs provides this too.