Deploy N8N V2 (2.1.0) (w/ workers)

Prod-ready N8N 2.0 2.1.0 worker+redis+postgres, secure default, task-runner

Deploy N8N V2 (2.1.0) (w/ workers)

Just deployed

Just deployed

/bitnami

n8n-worker

n8nio/n8n:2.0.1

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

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_NODE and N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS are 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

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

View Template
Postgres S3 backups
A simple NodeJS app to back up your PostgreSQL database to S3 via a cron

View Template
Prefect [Updated Dec ’25]
Prefect [Dec ’25] (ETL & Automation alternative to Airflow) Self Host