Self-Hosting & DevOps · 20 min

Environment variables & configuration

The essential N8N_* variables for security, webhooks, timezone and executions.

Key concepts

  • N8N_ENCRYPTION_KEY
  • N8N_SECURE_COOKIE
  • GENERIC_TIMEZONE

Exercise

Write a .env file with encryption key, timezone and secure-cookie settings for a production instance.

Official docs