n8n Self-Hosting & Deployment
Running n8n yourself with Docker.
Learning series
Articles in n8n Self-Hosting & Deployment
- n8n for Teams: RBAC, Audit Logs, and Environments at Scale — A single person running n8n needs almost none of this. A team of ten building and depending on dozens of production workflows needs all of it -- who can edit what, who touched a workflow before it broke, and a clean boundary between what's being tested and what's actually running the business.
- n8n Community Nodes: Evaluating Risk Before You Install One — A community node that saves you an afternoon of custom integration work also runs with full access to whatever your n8n instance can reach. Evaluate it before installing, not after something goes wrong.
- n8n Environment Promotion: Moving Workflows From Dev to Production Safely — Copying a workflow from a dev n8n instance straight into production is how a hardcoded test URL or a dev-only credential ends up live. Here's a safer promotion pattern.
- n8n Queue Mode Explained: Scaling Workflow Execution Beyond a Single Instance — A single n8n instance runs fine until concurrent executions start queuing behind each other. Queue mode fixes that by splitting execution across worker processes — here's how it actually works.
- n8n Credentials Management: Keeping API Keys Safe Across Environments — It's easy to accidentally point a workflow at a production API key while testing, or vice versa. Here's how to structure n8n credentials so environment mistakes become hard to make.
- Run n8n Locally for Free with Docker: The Complete 10-Part Series — The full index for the 10-part series on running n8n locally with Docker for free — every part in order, with a one-line summary of what each one covers.
- Run n8n Locally for Free with Docker (Part 4 of 10): Persisting Your Workflows with Docker Volumes — Part 4 of the local n8n Docker series: mounting a Docker volume so your workflows, credentials, and execution history survive container restarts and rebuilds.
- Run n8n Locally for Free with Docker (Part 8 of 10): Installing Community Nodes — Part 8 of the local n8n Docker series: installing community nodes on a self-hosted local instance, and how to vet one before trusting it with real credentials.
- Run n8n Locally for Free with Docker (Part 10 of 10): Upgrading Without Losing Your Workflows — Part 10 of the local n8n Docker series: how to upgrade your local n8n container to a new version safely, with a rollback plan if something breaks.
- Run n8n Locally for Free with Docker (Part 6 of 10): Environment Variables That Actually Matter — Part 6 of the local n8n Docker series: the handful of environment variables — encryption key, timezone, host — worth setting deliberately instead of leaving on their defaults.
- Run n8n Locally for Free with Docker (Part 1 of 10): Why Self-Host Instead of n8n Cloud — Kicking off a 10-part series on running n8n locally for free with Docker — what you gain and give up versus n8n Cloud, and what you need before Part 2.
- Run n8n Locally for Free with Docker (Part 2 of 10): Installing Docker Desktop on Windows, Mac, and Linux — Part 2 of the local n8n Docker series: installing Docker Desktop on Windows, Mac, and Linux, and confirming it actually works before moving on.
- Run n8n Locally for Free with Docker (Part 3 of 10): Your First n8n Container — Part 3 of the local n8n Docker series: the actual docker run command that gets n8n up and running, and what each flag in it actually does.
- Run n8n Locally for Free with Docker (Part 7 of 10): Testing Webhooks Locally with a Free Tunnel — Part 7 of the local n8n Docker series: giving your local n8n instance a public URL with a free tunnel, so real webhooks from a CRM, form tool, or API can actually reach it.
- Run n8n Locally for Free with Docker (Part 5 of 10): A Cleaner Setup with Docker Compose — Part 5 of the local n8n Docker series: replacing the long docker run command with a single docker-compose.yml file you can version, edit, and restart with one command.
- Run n8n Locally for Free with Docker (Part 9 of 10): Backing Up and Restoring Your Instance — Part 9 of the local n8n Docker series: a real backup routine for your local n8n volume, and how to test that a restore actually works before you need it.
- n8n Self-Hosting Guide: Docker Compose, PostgreSQL, HTTPS, Backups and Monitoring — Set up a self-hosted n8n instance you can rely on: Docker Compose with PostgreSQL, a backed-up encryption key, the webhook URL and time zone settings, HTTPS, /healthz monitoring, tested backups and pinned upgrades.