mastodon: Ensure bools are lowercase in env
This commit is contained in:
parent
869ba33657
commit
6f2394e9dc
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ DB_PORT=5432
|
|||
{% if mastodon_config.enable_elasticsearch is defined %}
|
||||
# Optional ElasticSearch configuration
|
||||
# You may also set ES_PREFIX to share the same cluster between multiple Mastodon servers (falls back to REDIS_NAMESPACE if not set)
|
||||
ES_ENABLED={{ mastodon_config.enable_elasticsearch }}
|
||||
ES_ENABLED={{ mastodon_config.enable_elasticsearch | bool | lower }}
|
||||
ES_HOST=es
|
||||
ES_PORT=9200
|
||||
{% endif %}
|
||||
|
@ -57,7 +57,7 @@ VAPID_PUBLIC_KEY={{ mastodon_config.vapid_public_key }}
|
|||
# Registrations
|
||||
{% if mastodon_config.single_user_mode is defined %}
|
||||
# Single user mode will disable registrations and redirect frontpage to the first profile
|
||||
SINGLE_USER_MODE={{ mastodon_config.single_user_mode }}
|
||||
SINGLE_USER_MODE={{ mastodon_config.single_user_mode | bool | lower }}
|
||||
{% endif %}
|
||||
# Prevent registrations with following e-mail domains
|
||||
# EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
|
||||
|
|
Loading…
Add table
Reference in a new issue