this post was submitted on 28 Mar 2024
17 points (94.7% liked)

Lemmy Support

4651 readers
2 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I'm on the edge of hosting my own lemmy instance but I have a problem of the theoretically infinitely ballooning space requirements.

Are there any options for not saving all the federated images locally? I'd settle for a jank solution such as wiping it via cron or similar.

Thank you

top 3 comments
sorted by: hot top controversial new old
[–] iso@lemy.lol 11 points 7 months ago (1 children)

If you don't use pict-rs then Lemmy will not proxy images and just use original URLs. Also, in the new version that has not been released yet, you will be able to disable the proxy via config.

[–] drkt@lemmy.dbzer0.com 6 points 7 months ago

Oh that's good to know. I figured it might behave like that but I don't see any mention in the docs about it. Thank you!

[–] sunaurus@lemm.ee 10 points 7 months ago

On 0.19.3, you can:

  1. Limit the file upload size for local users through nginx configuration
  2. Disable incoming federated images through Lemmy configuration: https://github.com/LemmyNet/lemmy/blob/main/config/defaults.hjson#L49 (set this to false)