mastodon: Ensure bools are lowercase in env

This commit is contained in:
saibotk 2023-01-28 20:06:28 +01:00
parent 869ba33657
commit 6f2394e9dc
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -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