add federation option
This commit is contained in:
parent
90059067b8
commit
228ca56064
|
@ -13,3 +13,5 @@ SECRET_POSTGRES_PASSWORD_VERSION=v1
|
||||||
SITE_NAME=LemmyCloud
|
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?)'
|
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
|
|
@ -11,6 +11,7 @@ services:
|
||||||
- ADMIN_USERNAME
|
- ADMIN_USERNAME
|
||||||
- SITE_NAME
|
- SITE_NAME
|
||||||
- SLUR_FILTER
|
- SLUR_FILTER
|
||||||
|
- FEDERATION_ENABLED
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_config:/config/
|
- lemmy_config:/config/
|
||||||
secrets:
|
secrets:
|
||||||
|
|
|
@ -53,4 +53,13 @@
|
||||||
# # whether or not smtp connections should use tls
|
# # whether or not smtp connections should use tls
|
||||||
# use_tls: true
|
# 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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue