this post was submitted on 23 Sep 2024
11 points (100.0% liked)

PieFed Meta

3 readers
1 users here now

Discuss PieFed project direction, provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics.

Wiki

founded 10 months ago
MODERATORS
 

I've started playing with setting up a "production" version of PieFed. I have a few questions. I'm hoping someone can help.

  1. Can I use S3 buckets for media? I use Wasabi S3 for my other Fediverse servers. Can I use them with PieFed?

  2. Regarding the BOUNCE_ADDRESS settings in the .env file, what if I leave them all unfilled? Will the email bounces simply come back to the inbox of the sending email address? This is my preferred scenario.

  3. The instructions have, "If BOUNCE_* is configured ...". Where is it configured? If I don't provide bounce addresses, do I need to care about this configuration?

  4. For production, do I change MODE to MODE='production', or something else? Is it case-sensitive?

  5. What is the SENTRY_DSN variable?

  6. What happens if I set MAIL_ERRORS=True?

Thanks, much! I'm sure I'll have more questions.

top 1 comments
sorted by: hot top controversial new old
[–] rimu@piefed.social 6 points 1 month ago

Hi Jerry,

All good questions which reveal holes in our documentation! Quite a lot of the contents of .env are optional.

  1. There is no S3 support yet. You might not need it though - after almost 1 year of operation piefed.social only has 14 GB of media saved. I've put a bit of thought into how to minimize disk usage with good results.

  2. Yes if you leave BOUNCE_ADDRESS empty it'll go back to the sender instead.

  3. It's configured in the .env file. You need an IMAP email inbox somewhere, which is outside of piefed's scope to provide. The BOUNCE_* stuff is for logging into that inbox, which you won't need to provide if not using BOUNCE_ADDRESS.

  4. Yes, set MODE='production', case sensitive. AFAIK anything other than 'development' will cause production mode to be used.

  5. That's used to connect to https://sentry.io for debugging purposes. You won't need that.

  6. MAIL_ERRORS=True will cause piefed to send you an email whenever a bug occurs. I don't recommend using this unless you're doing development work. You also need to have MAIL_* all set up nicely for it to work - it needs a SMTP server to connect to.