mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-05 16:17:38 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
28
roles/bookstack/templates/env.j2
Normal file
28
roles/bookstack/templates/env.j2
Normal file
@@ -0,0 +1,28 @@
|
||||
APP_KEY={{ bookstack_app_key }}
|
||||
APP_URL={{ bookstack_public_url }}
|
||||
DB_HOST={{ bookstack_db_server }}
|
||||
DB_DATABASE={{ bookstack_db_name }}
|
||||
DB_USERNAME={{ bookstack_db_user }}
|
||||
DB_PASSWORD={{ bookstack_db_pass | quote }}
|
||||
MAIL_DRIVER=smtp
|
||||
MAIL_FROM_NAME="{{ bookstack_email_name }}"
|
||||
MAIL_FROM={{ bookstack_email_from }}
|
||||
MAIL_HOST={{ bookstack_email_server }}
|
||||
MAIL_PORT={{ bookstack_email_port }}
|
||||
{% if bookstack_email_user is defined and bookstack_email_pass is defined %}
|
||||
MAIL_USERNAME={{ bookstack_email_user }}
|
||||
MAIL_PASSWORD={{ bookstack_email_pass | quote }}
|
||||
{% endif %}
|
||||
MAIL_ENCRYPTION={{ bookstack_email_encryption }}
|
||||
APP_TIMEZONE={{ system_tz | default('UTC') }}
|
||||
APP_LANG={{ bookstack_default_lang }}
|
||||
SESSION_SECURE_COOKIE={{ (bookstack_public_url | urlsplit('scheme') == 'https') | ternary('true','false') }}
|
||||
SESSION_COOKIE_NAME=bookstack_{{ bookstack_id }}_session
|
||||
SESSION_LIFETIME={{ bookstack_session_lifetime }}
|
||||
CACHE_PREFIX=bookstack_{{ bookstack_id }}
|
||||
{% if bookstack_trusted_proxies | length > 0 %}
|
||||
APP_PROXIES={{ bookstack_trusted_proxies | join(',') }}
|
||||
{% endif %}
|
||||
{% for key in bookstack_settings.keys() | list %}
|
||||
{{ key }}="{{ bookstack_settings[key] }}"
|
||||
{% endfor %}
|
Reference in New Issue
Block a user