src.nth.io/

summaryrefslogtreecommitdiff
path: root/pleroma/otp/defaults
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-10-26 19:25:23 -0500
committerLuke Hoersten <[email protected]>2026-10-26 19:25:23 -0500
commit2418d9d3eea87cd76b1ccccd5c24db585247fbcc (patch)
treebfb2f9e21a07452b10e5c8949069bb9490687e27 /pleroma/otp/defaults
parent1d023348dc169e18d7dafa33463817ccd412a743 (diff)
pleroma/otp: invite-only by default; fix tzdata write-permission crash loop
Default pleroma_signup_open to "false" and add pleroma_invites_enabled "true" as a default (there was none before, every instance had to set it explicitly). Two of three live instances were already overridden to invite-only; open registration by default is what let haskell.social get hit by spam/harassment in the first place. Point tzdata's :data_dir at a writable, per-instance directory instead of its own root-owned lib path. Without this, tzdata_release_updater crashes every few seconds trying to write its update-poll marker file under /opt/pleroma/lib, which the pleroma user can't write to.
Diffstat (limited to 'pleroma/otp/defaults')
-rw-r--r--pleroma/otp/defaults/main.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/pleroma/otp/defaults/main.yaml b/pleroma/otp/defaults/main.yaml
index ea6c3a1..7f3b8de 100644
--- a/pleroma/otp/defaults/main.yaml
+++ b/pleroma/otp/defaults/main.yaml
@@ -18,7 +18,8 @@ pleroma_instance_name: "{{pleroma_link_host}}"
pleroma_desc: "A Pleroma fediverse instance."
pleroma_admin_email: "admin@{{pleroma_link_host}}"
pleroma_char_limit: 5000
-pleroma_signup_open: "true"
+pleroma_signup_open: "false"
+pleroma_invites_enabled: "true"
pleroma_db_host: "localhost"
pleroma_db_superuser: "postgres"

☐