Page type
env var
5 candidate pages in this template family.
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.
self-hostedN8N_COMMUNITY_PACKAGES_ENABLED
N8N_COMMUNITY_PACKAGES_ENABLED controls whether n8n can install and load community nodes.
self-hostedN8N_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.
Docker self-hostedN8N_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.
self-hostedN8N Managed By Env Settings
Settings managed by environment variables should be treated as deployment-owned configuration, which helps keep production behavior reproducible.