limited federation mode support

This commit is contained in:
Radim Dostál 2022-12-29 08:56:11 +01:00 committed by Renaud Chaput
parent aa4cd09550
commit a227f91a7f
2 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,9 @@ data:
{{- with .Values.mastodon.authorizedFetch }} {{- with .Values.mastodon.authorizedFetch }}
AUTHORIZED_FETCH: {{ . | quote }} AUTHORIZED_FETCH: {{ . | quote }}
{{- end }} {{- end }}
{{- with .Values.mastodon.limitedFederationMode }}
LIMITED_FEDERATION_MODE: {{ . | quote }}
{{- end }}
# https://devcenter.heroku.com/articles/tuning-glibc-memory-behavior # https://devcenter.heroku.com/articles/tuning-glibc-memory-behavior
MALLOC_ARENA_MAX: "2" MALLOC_ARENA_MAX: "2"
NODE_ENV: "production" NODE_ENV: "production"

View File

@ -38,6 +38,8 @@ mastodon:
singleUserMode: false singleUserMode: false
# -- Enables "Secure Mode" for more details see: https://docs.joinmastodon.org/admin/config/#authorized_fetch # -- Enables "Secure Mode" for more details see: https://docs.joinmastodon.org/admin/config/#authorized_fetch
authorizedFetch: false authorizedFetch: false
# -- Enables "Limited Federation Mode" for more detauls see: https://docs.joinmastodon.org/admin/config/#limited_federation_mode
limitedFederationMode: false
persistence: persistence:
assets: assets:
# -- ReadWriteOnce is more widely supported than ReadWriteMany, but limits # -- ReadWriteOnce is more widely supported than ReadWriteMany, but limits