ansible-roles/roles/n8n/templates/env.j2

26 lines
992 B
Plaintext
Raw Normal View History

2021-12-01 19:13:34 +01:00
N8N_CONFIG_FILES={{ n8n_root_dir }}/etc/n8n.json
N8N_USER_FOLDER={{ n8n_root_dir }}/data
2022-05-02 12:00:10 +02:00
WEBHOOK_URL={{ n8n_public_url }}
2021-12-01 19:13:34 +01:00
VUE_APP_URL_BASE_API={{ n8n_public_url }}
N8N_ENCRYPTION_KEY={{ n8n_secret_key | quote }}
EXECUTIONS_DATA_PRUNE=true
EXECUTIONS_DATA_MAX_AGE={{ n8n_data_max_age }}
N8N_CUSTOM_EXTENSIONS={{ n8n_root_dir }}/.n8n/custom
{% for env in n8n_env_var.keys() | list %}
{{ env }}={{ n8n_env_var[env] }}
{% endfor %}
2022-05-02 12:00:10 +02:00
N8N_DIAGNOSTICS_ENABLED=false
N8N_USER_MANAGEMENT_DISABLED=true
N8N_EMAIL_MODE=smtp
N8N_SMTP_HOST={{ n8n_smtp_server }}
N8N_SMTP_PORT={{ n8n_smtp_port }}
N8N_SMTP_SSL={{ n8n_smtp_ssl | ternary('true','false') }}
N8N_SMTP_SENDER={{ n8n_smtp_sender }}
2022-05-06 10:00:10 +02:00
# Note : n8n requires N8N_SMTP_USER and N8N_SMTP_PASS, even if no login is required for relay
2022-05-02 12:00:10 +02:00
N8N_SMTP_USER={{ n8n_smtp_user | default('smtp') }}
2022-05-06 10:00:10 +02:00
N8N_SMTP_PASS={{ n8n_smtp_pass | default('smtp') }}
2022-05-02 12:00:10 +02:00
N8N_EDITOR_BASE_URL={{ n8n_public_url }}
{% if system_tz is defined %}
GENERIC_TIMEZONE={{ system_tz }}
{% endif %}