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

Asklemmy

43989 readers
691 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_A@discuss.tchncs.de~

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
[โ€“] pimeys@lemmy.nauk.io 0 points 1 year ago (4 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.

[โ€“] tjr@innernet.link 1 points 1 year ago (2 children)

Probably not a bad idea to enable S3 support

[โ€“] pimeys@lemmy.nauk.io 2 points 1 year ago (1 children)

Btw, if somebody here makes an instance with pictrs sending data to S3, it would be really cool if you would document it and write a guide how to enable it with a common Ansible deployment. It seems that the docker image doesn't take any environment variables, or at least there is no documented way how to turn on the object storage using the pictrs docker image. Maybe it's not implemented yet, and somebody needs to fork the docker image...

[โ€“] tjr@innernet.link 1 points 1 year ago

I will update this thread if/when I find out more information regarding this.

[โ€“] pimeys@lemmy.nauk.io 1 points 1 year ago

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..

load more comments (1 replies)