this post was submitted on 11 Jun 2023
9 points (100.0% liked)

Asklemmy

43376 readers
1476 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

When you upload an image in the URL bar when creating a post, where does it go? Are they hosted on the respective Instance of the community?

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

If you run the normal Ansible setup, there's one docker container running pictrs that's going to handle the image uploads. By default, it stores it into a volume that comes from the server's filesystem. So when you upload an image, it gets stored to the server's file system with the default settings.

Pictrs supports object storage, and you can get it to store the images to any S3 compatible storage.

[โ€“] [email protected] 1 points 1 year ago (5 children)

Probably not a bad idea to enable S3 support

[โ€“] [email protected] 2 points 1 year ago (2 children)

If you tend to upload images/memes etc., yes, it's a good idea. And very cheap (read: free) if you go with Cloudflare R2..

[โ€“] [email protected] 0 points 1 year ago (1 children)

I've never used CF for object storage, I personally use Backblaze B2, it's pricing is extremely fair. If anyone needs object storage, it is something to consider, I am not sure how it compares to cloudflare though. There unfortunately isn't much documentation on config vars for object storage on lemmy/pict-rs I am still looking into this.

[โ€“] [email protected] 1 points 1 year ago

For most of the self-hosters here, Cloudflare will be free. I know many Mastodon and Akkoma users using Backblaze, so it's probably a good option too. I use it for my backups, and but not with their S3 API.

load more comments (2 replies)
load more comments (2 replies)