matrix-docker-ansible-deploy/roles/custom/matrix-bot-buscarron/templates/env.j2

39 lines
2.4 KiB
Plaintext
Raw Normal View History

2022-04-23 15:19:24 +02:00
BUSCARRON_LOGIN={{ matrix_bot_buscarron_login }}
BUSCARRON_PASSWORD={{ matrix_bot_buscarron_password }}
BUSCARRON_HOMESERVER={{ matrix_bot_buscarron_homeserver }}
BUSCARRON_DB_DSN={{ matrix_bot_buscarron_database_connection_string }}
BUSCARRON_DB_DIALECT={{ matrix_bot_buscarron_database_dialect }}
2022-10-25 17:39:39 +02:00
BUSCARRON_SPAMLIST={{ matrix_bot_buscarron_spamlist|join(" ") }}
2022-04-23 15:19:24 +02:00
BUSCARRON_SPAM_HOSTS={{ matrix_bot_buscarron_spam_hosts|join(" ") }}
BUSCARRON_SPAM_EMAILS={{ matrix_bot_buscarron_spam_emails|join(" ") }}
2022-06-20 23:02:17 +02:00
BUSCARRON_SPAM_LOCALPARTS={{ matrix_bot_buscarron_spam_localparts|join(" ") }}
2022-04-23 15:19:24 +02:00
BUSCARRON_SENTRY={{ matrix_bot_buscarron_sentry }}
BUSCARRON_LOGLEVEL={{ matrix_bot_buscarron_loglevel }}
2022-05-10 17:38:57 +02:00
BUSCARRON_BAN_SIZE={{ matrix_bot_buscarron_ban_size }}
2022-10-27 12:45:08 +02:00
BUSCARRON_BAN_LIST={{ matrix_bot_buscarron_ban_list|default('')|join(' ') }}
2022-05-10 17:38:57 +02:00
BUSCARRON_PM_TOKEN={{ matrix_bot_buscarron_pm_token }}
BUSCARRON_PM_FROM={{ matrix_bot_buscarron_pm_from }}
BUSCARRON_PM_REPLYTO={{ matrix_bot_buscarron_pm_replyto }}
2022-10-25 17:39:39 +02:00
BUSCARRON_SMTP_FROM={{ matrix_bot_buscarron_smtp_from }}
BUSCARRON_SMTP_VALIDATION={{ matrix_bot_buscarron_smtp_validation }}
BUSCARRON_METRICS_LOGIN={{ matrix_bot_buscarron_metrics_login }}
BUSCARRON_METRICS_PASSWORD={{ matrix_bot_buscarron_metrics_password }}
BUSCARRON_METRICS_IPS={{ matrix_bot_buscarron_metrics_ips|default([])|join(" ") }}
2022-04-23 15:19:24 +02:00
{% set forms = [] %}
{% for form in matrix_bot_buscarron_forms -%}{{- forms.append(form.name) -}}
BUSCARRON_{{ form.name|upper }}_ROOM={{ form.room|default('') }}
2024-02-05 21:07:45 +01:00
BUSCARRON_{{ form.name|upper }}_TEXT={{ form.text|default('') }}
2022-04-23 15:19:24 +02:00
BUSCARRON_{{ form.name|upper }}_REDIRECT={{ form.redirect|default('') }}
2024-02-05 21:07:45 +01:00
BUSCARRON_{{ form.name|upper }}_REDIRECT_REJECT={{ form.redirect_reject|default('') }}
2022-06-20 23:02:17 +02:00
BUSCARRON_{{ form.name|upper }}_HASDOMAIN={{ form.hasdomain|default('') }}
2022-10-25 17:39:39 +02:00
BUSCARRON_{{ form.name|upper }}_HASEMAIL={{ form.hasemail|default('') }}
2022-04-23 15:19:24 +02:00
BUSCARRON_{{ form.name|upper }}_RATELIMIT={{ form.ratelimit|default('') }}
2024-02-05 21:07:45 +01:00
BUSCARRON_{{ form.name|upper }}_RATELIMIT_SHARED={{ form.ratelimit_shared|default(false) }}
2022-04-23 15:19:24 +02:00
BUSCARRON_{{ form.name|upper }}_EXTENSIONS={{ form.extensions|default('')|join(' ') }}
2022-05-10 17:38:57 +02:00
BUSCARRON_{{ form.name|upper }}_CONFIRMATION_SUBJECT={{ form.confirmation_subject|default('') }}
BUSCARRON_{{ form.name|upper }}_CONFIRMATION_BODY={{ form.confirmation_body|default('') }}
2022-04-23 15:19:24 +02:00
{% endfor %}
BUSCARRON_LIST={{ forms|join(" ") }}
{{ matrix_bot_buscarron_environment_variables_extension }}