Page type

env var

5 candidate pages in this template family.

self-hosted

N8N Environment Variables Overview

Environment variables are the main way to configure self-hosted n8n for Docker, hosting, databases, queue mode, nodes, and security behavior.

n8n environment variables
self-hosted

N8N_COMMUNITY_PACKAGES_ENABLED

N8N_COMMUNITY_PACKAGES_ENABLED controls whether n8n can install and load community nodes.

N8N_COMMUNITY_PACKAGES_ENABLED
self-hosted

N8N_COMMUNITY_PACKAGES_PREVENT_LOADING

N8N_COMMUNITY_PACKAGES_PREVENT_LOADING prevents installed community nodes from loading on startup and is useful when a faulty node blocks the instance.

N8N_COMMUNITY_PACKAGES_PREVENT_LOADING
Docker self-hosted

N8N_REINSTALL_MISSING_PACKAGES

N8N_REINSTALL_MISSING_PACKAGES tells n8n to reinstall missing community node packages at startup, mainly as a fallback for Docker setups where package persistence is not fixed yet.

N8N_REINSTALL_MISSING_PACKAGES
self-hosted

N8N Managed By Env Settings

Settings managed by environment variables should be treated as deployment-owned configuration, which helps keep production behavior reproducible.

n8n managed by env