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

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

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

load more comments (3 replies)
load more comments (3 replies)