diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index 5d0b96d..5da6895 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -25,6 +25,9 @@ data: {{- if .Values.mastodon.web_domain }} WEB_DOMAIN: {{ .Values.mastodon.web_domain }} {{- end }} + {{- if .Values.mastodon.alternate_domains }} + ALTERNATE_DOMAINS: {{ join "," .Values.mastodon.alternate_domains }} + {{- end }} {{- if .Values.mastodon.singleUserMode }} SINGLE_USER_MODE: "true" {{- end }} diff --git a/values.yaml b/values.yaml index 07171fc..1328f0f 100644 --- a/values.yaml +++ b/values.yaml @@ -30,6 +30,11 @@ mastodon: # 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 # 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. singleUserMode: false persistence: