N8N_CONFIG_FILES={{ n8n_root_dir }}/etc/n8n.json
N8N_USER_FOLDER={{ n8n_root_dir }}/data
WEBHOOK_URL={{ n8n_public_url }}
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 %}
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 }}
# Note : n8n requires N8N_SMTP_USER and N8N_SMTP_PASS, even if no login is required for relay
N8N_SMTP_USER={{ n8n_smtp_user | default('smtp') }}
N8N_SMTP_PASS={{ n8n_smtp_pass | default('smtp') }}
N8N_EDITOR_BASE_URL={{ n8n_public_url }}
{% if system_tz is defined %}
GENERIC_TIMEZONE={{ system_tz }}
{% endif %}
