Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
223e1523
Unverified
Commit
223e1523
authored
2 years ago
by
Kangwook Lee (이강욱)
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add option to enable single user mode (#19503)
parent
9bf6a8af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
chart/templates/configmap-env.yaml
+3
-0
chart/templates/configmap-env.yaml
chart/values.yaml
+2
-0
chart/values.yaml
with
5 additions
and
0 deletions
+5
-0
chart/templates/configmap-env.yaml
+
3
-
0
View file @
223e1523
...
...
@@ -24,6 +24,9 @@ data:
{{
- if .Values.mastodon.web_domain
}}
WEB_DOMAIN
:
{{
.Values.mastodon.web_domain
}}
{{
- end
}}
{{
- if .Values.mastodon.singleUserMode
}}
SINGLE_USER_MODE
:
"
true"
{{
- end
}}
# https://devcenter.heroku.com/articles/tuning-glibc-memory-behavior
MALLOC_ARENA_MAX
:
"
2"
NODE_ENV
:
"
production"
...
...
This diff is collapsed.
Click to expand it.
chart/values.yaml
+
2
-
0
View file @
223e1523
...
...
@@ -30,6 +30,8 @@ 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 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
:
assets
:
# ReadWriteOnce is more widely supported than ReadWriteMany, but limits
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment