17
submitted 10 months ago* (last edited 10 months ago) by pimeys@lemmy.nauk.io to c/lemmy@lemmy.ml

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.

top 2 comments
sorted by: hot top controversial new old
[-] poVoq@slrpnk.net 4 points 10 months ago* (last edited 10 months ago)

The process of configurating it and converting from block storage is documented here: https://git.asonix.dog/asonix/pict-rs.git

[-] scrubbles@poptalk.scrubbles.tech 3 points 10 months ago

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.

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

Lemmy

12440 readers
3 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