3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 04:53:21 +00:00

Add alternate domains to chart

This commit is contained in:
Alexander Bradley 2022-11-27 15:33:49 -06:00
parent d74c7876c2
commit 17168abbcc
No known key found for this signature in database
GPG Key ID: 974070D21A40709C
2 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,9 @@ data:
{{- if .Values.mastodon.web_domain }} {{- if .Values.mastodon.web_domain }}
WEB_DOMAIN: {{ .Values.mastodon.web_domain }} WEB_DOMAIN: {{ .Values.mastodon.web_domain }}
{{- end }} {{- end }}
{{- if .Values.mastodon.alternate_domains }}
ALTERNATE_DOMAINS: {{ join "," .Values.mastodon.alternate_domains }}
{{- end }}
{{- if .Values.mastodon.singleUserMode }} {{- if .Values.mastodon.singleUserMode }}
SINGLE_USER_MODE: "true" SINGLE_USER_MODE: "true"
{{- end }} {{- end }}

View File

@ -30,6 +30,11 @@ mastodon:
# Use of WEB_DOMAIN requires careful consideration: https://docs.joinmastodon.org/admin/config/#federation # Use of WEB_DOMAIN requires careful consideration: https://docs.joinmastodon.org/admin/config/#federation
# You must redirect the path LOCAL_DOMAIN/.well-known/ to WEB_DOMAIN/.well-known/ as described # You must redirect the path LOCAL_DOMAIN/.well-known/ to WEB_DOMAIN/.well-known/ as described
# web_domain: mastodon.example.com # web_domain: mastodon.example.com
# If you have multiple domains pointed at your Mastodon server, this setting will allow Mastodon to recognize
# itself when users are addressed using those other domains.
# alternate_domains:
# - foo.com
# - bar.com
# If set to true, the frontpage of your Mastodon server will always redirect to the first profile in the database and registrations will be disabled. # If set to true, the frontpage of your Mastodon server will always redirect to the first profile in the database and registrations will be disabled.
singleUserMode: false singleUserMode: false
persistence: persistence: