forked from ISTI-ansible-roles/ansible-roles
54 lines
2.6 KiB
Django/Jinja
54 lines
2.6 KiB
Django/Jinja
SHARELATEX_MONGO_URL={{ sharelatex_mongodb_url }}
|
|
SHARELATEX_REDIS_HOST={{ sharelatex_redis_host }}
|
|
SHARELATEX_APP_NAME='{{ sharelatex_app_name }}'
|
|
SHARELATEX_SITE_URL={{ sharelatex_site_url }}
|
|
SHARELATEX_NAV_TITLE='{{ sharelatex_app_name }}'
|
|
SHARELATEX_BEHIND_PROXY='{{ sharelatex_behind_proxy }}'
|
|
{% if sharelatex_secure_cookie %}
|
|
SHARELATEX_SECURE_COOKIE=true
|
|
{% endif %}
|
|
{% if sharelatex_session_secret is defined %}
|
|
SHARELATEX_SESSION_SECRET={{ sharelatex_session_secret }}
|
|
{% endif %}
|
|
{% if sharelatex_header_image_url is defined %}
|
|
SHARELATEX_HEADER_IMAGE_URL={{ sharelatex_header_image_url }}
|
|
{% endif %}
|
|
{% if sharelatex_admin_email is defined %}
|
|
SHARELATEX_ADMIN_EMAIL={{ sharelatex_admin_email }}
|
|
{% endif %}
|
|
{% if sharelatex_left_footer is defined %}
|
|
SHARELATEX_LEFT_FOOTER={{ sharelatex_left_footer }}
|
|
{% endif %}
|
|
{% if sharelatex_right_footer is defined %}
|
|
SHARELATEX_RIGHT_FOOTER={{ sharelatex_right_footer }}
|
|
{% endif %}
|
|
{% if sharelatex_configure_smtp is defined %}
|
|
# This one is mandatory if we want the email settings to work correctly
|
|
SHARELATEX_EMAIL_FROM_ADDRESS={{ sharelatex_email_from }}
|
|
SHARELATEX_EMAIL_DRIVER=smtp
|
|
SHARELATEX_EMAIL_REPLY_TO={{ sharelatex_email_smtp_reply_to | default("") }}
|
|
SHARELATEX_EMAIL_SMTP_HOST={{ sharelatex_email_smtp_host }}
|
|
SHARELATEX_EMAIL_SMTP_PORT={{ sharelatex_email_smtp_port | default(587) }}
|
|
# Keep it false for port 587, turn to true for port 465
|
|
SHARELATEX_EMAIL_SMTP_SECURE={{ sharelatex_email_smtp_secure | default('false') }}
|
|
SHARELATEX_EMAIL_SMTP_USER={{ sharelatex_email_smtp_user | default('') }}
|
|
SHARELATEX_EMAIL_SMTP_PASS={{ sharelatex_email_smtp_pass | default('') }}
|
|
SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH={{ sharelatex_email_smtp_tls_reject_unauth | default('true') }}
|
|
SHARELATEX_EMAIL_SMTP_IGNORE_TLS={{ sharelatex_email_smtp_ignore_tls | default('false') }}
|
|
{% if sharelatex_custom_email_footer is defined %}
|
|
SHARELATEX_CUSTOM_EMAIL_FOOTER="{{ sharelatex_custom_email_footer }}"
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if sharelatex_restrict_invites_to_existing_accounts is defined %}
|
|
# Set to true to limit the invites to already existing users
|
|
SHARELATEX_RESTRICT_INVITES_TO_EXISTING_ACCOUNTS={{ sharelatex_restrict_invites_to_existing_accounts }}
|
|
{% endif %}
|
|
{% if sharelatex_allow_anonymous_rw_sharing is defined %}
|
|
# Give non sharelatex users read and write permissions with the share links
|
|
#SHARELATEX_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING={{ sharelatex_allow_anonymous_rw_sharing }}
|
|
{% endif %}
|
|
{% if sharelatex_allow_public_access is defined %}
|
|
# Set to true if you want unauthenticated users view the site
|
|
SHARELATEX_ALLOW_PUBLIC_ACCESS={{ sharelatex_allow_public_access }}
|
|
{% endif %}
|