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

Lemmy

12535 readers
1 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.

top 2 comments
sorted by: hot top controversial new old
[โ€“] poVoq@slrpnk.net 4 points 1 year ago* (last edited 1 year ago)

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

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.