mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 19:37:06 +00:00
31 lines
867 B
Django/Jinja
31 lines
867 B
Django/Jinja
# Template populated on {{ template_run_date }}
|
|
[settings]
|
|
|
|
SECRET_KEY={{ secret_key }}
|
|
DEBUG={{ "True" if deploy_mode > 1 else "False" }}
|
|
DATABASE_URL=mysql://{{ db_user }}:{{ db_pass }}@localhost:3306/{{ db_name }}
|
|
|
|
{% if allowed_hosts is defined %}
|
|
ALLOWED_HOSTS={% for h in allowed_hosts %}{{ h }},{% endfor %}
|
|
{% else %}
|
|
ALLOWED_HOSTS={{ inventory_hostname }},localhost,127.0.0.1
|
|
{% endif %}
|
|
|
|
PARENT_PROJECT_NAME={{ parent_project_name }}
|
|
PROJECT_SHORT_NAME={{ display_short_name }}
|
|
PROJECT_LONG_NAME={{ display_long_name }}
|
|
|
|
{% if email_host is defined %}
|
|
EMAIL_HOST={{ email_host }}
|
|
{% endif %}
|
|
{% if default_from_email is defined %}
|
|
DEFAULT_FROM_EMAIL={{ default_from_email }}
|
|
{% endif %}
|
|
{% if email_port is defined %}
|
|
EMAIL_PORT={{ email_port }}
|
|
{% endif %}
|
|
|
|
{% if google_maps_api_key is defined %}
|
|
GOOGLE_MAPS_API_KEY={{ google_maps_api_key }}
|
|
{% endif %}
|