add federation option

This commit is contained in:
Philipp Rothmann 2022-08-21 00:25:44 +02:00
parent 90059067b8
commit 228ca56064
3 changed files with 12 additions and 0 deletions

View File

@ -13,3 +13,5 @@ SECRET_POSTGRES_PASSWORD_VERSION=v1
SITE_NAME=LemmyCloud
SLUR_FILTER='(fag(g|got|tard)?\b|cock\s?sucker(s|ing)?|ni((g{2,}|q)+|[gq]{2,})[e3r]+(s|z)?|mudslime?s?|kikes?|\bspi(c|k)s?\b|\bchinks?|gooks?|bitch(es|ing|y)?|whor(es?|ing)|\btr(a|@)nn?(y|ies?)|\b(b|re|r)tard(ed)?s?)'
FEDERATION_ENABLED=true

View File

@ -11,6 +11,7 @@ services:
- ADMIN_USERNAME
- SITE_NAME
- SLUR_FILTER
- FEDERATION_ENABLED
volumes:
- lemmy_config:/config/
secrets:

View File

@ -53,4 +53,13 @@
# # whether or not smtp connections should use tls
# use_tls: true
# }
# Settings related to activitypub federation
federation: {
enabled: {{ env "FEDERATION_ENABLED" }}
strict_allowlist: false
http_fetch_retry_limit: 25
worker_count: 64
debug: false
}
}