Deploy N8N V2 (2.1.0) (w/ workers)
Prod-ready N8N 2.0 2.1.0 worker+redis+postgres, secure default, task-runner
n8n-main
Just deployed
Redis
Just deployed
/bitnami
n8n-worker
Just deployed
Just deployed
/var/lib/postgresql/data
Deploy and Host N8N V2 (2.1.0) (w/ workers) on Railway
N8N 2.1.0 is a major release of the open‑source workflow automation platform, continuing the secure‑by‑default approach introduced in N8N 2.x and expanding the AI and credential-management feature set. This template deploys a dedicated main service for the editor and API plus a worker service for queue processing, backed by PostgreSQL and Redis for durable, scalable automation.
About Hosting N8N V2 (2.1.0) (w/ workers)
This template provisions a production‑grade N8N 2.1.0 stack in queue mode. The main instance exposes the editor and webhooks, while workers consume jobs from a Redis‑backed queue to execute workflows in parallel. PostgreSQL stores workflows, credentials, and execution logs. Security‑oriented defaults are enabled, including environment‑variable blocking inside workflows and stricter settings‑file permissions, aligning with the hardening changes introduced in N8N 2.x. Railway manages networking, TLS termination, and scaling, so you can focus on building automations rather than servers. You can horizontally scale workers as your workload grows, without changing your workflows.
What’s New in N8N 2.1.0 (Highlights)
- Chat Hub: a built‑in chat experience for interacting with LLMs and agent workflows (including optional search tooling integrations).
- Dynamic credentials enhancements: improved credential resolver support, including OAuth callback improvements and broader auth flows.
- AI Agent upgrades: native Python tool support for agent workflows, plus model‑specific enhancements (e.g., “thinking mode” support).
- Platform improvements: additional workflow/runtime enhancements and updated dependencies (including Node.js updates and related fixes).
Common Use Cases
- Running business‑critical automations (CRM sync, lead routing, billing, alerts) with isolated workers and reliable retries
- Offloading heavy or long‑running jobs (APIs, data pipelines, AI calls) to background workers without blocking the editor
- Centralising event‑driven workflows (webhooks, schedules, queues) in a secure, self‑hosted automation hub
Dependencies for N8N V2 (2.1.0) (w/ workers) Hosting
- PostgreSQL – persistent storage for workflows, credentials, users, and execution history
- Redis – message broker for the Bull queue used by N8N workers
Deployment Dependencies
- N8N documentation: https://docs.n8n.io/
- N8N 2.1.0 release notes (GitHub tag): https://github.com/n8n-io/n8n/releases/tag/n8n%402.1.0
- Environment variables & security options: https://docs.n8n.io/hosting/configuration/environment-variables/security/
- Railway documentation: https://docs.railway.app/
Implementation Details
- N8N runs in queue mode with a main + worker architecture.
- Task runners are enabled to isolate Code node execution.
- Security‑focused variables such as
N8N_BLOCK_ENV_ACCESS_IN_NODEandN8N_ENFORCE_SETTINGS_FILE_PERMISSIONSare used to harden the instance. - The template is tuned for Railway’s managed Postgres and Redis services and expects HTTPS termination at the platform edge.
Why Deploy N8N V2 (2.1.0) (w/ workers) on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying N8N V2 (2.1.0) (w/ workers) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
