Deploy N8N (w/ workers + task runner)

n8n with workers and external task runners for secure scaling

Deploy N8N (w/ workers + task runner)

Just deployed

/bitnami

Just deployed

/var/lib/postgresql/data

Worker

n8nio/n8n

Just deployed

Primary

n8nio/n8n

Just deployed

Deploy and Host n8n (w/ workers + Task Runner) on Railway

N8N (w/ workers + task runner) is a 1‑click Railway template that deploys n8n in queue mode with worker(s), Redis, Postgres, and external Task Runner(s) (n8nio/runners) for the Code node. It isolates JavaScript/Python execution for reliability, supports high‑throughput webhooks, and lets you scale workers independently for throughput.

About Hosting n8n (w/ workers + Task Runner)

This template deploys n8n on Railway with a production-ready setup: a main service (editor/API), worker service(s) that execute workflows, Redis for job queuing, PostgreSQL for storage, and an external Task Runner service (n8nio/runners). The extra Task Runner service provides a separate, managed runtime for the Code node, improving isolation and reliability for custom code without impacting the main editor. Railway provisions and manages the services so you can deploy quickly without manual configuration. As your workload grows, you can scale worker services for throughput and keep the editor responsive.

Common Use Cases

  • Isolated execution of Code node (JavaScript/Python) for reliability and safety
  • High‑volume webhook processing that doesn’t block the editor
  • Data pipelines mixing connectors with custom logic or AI calls
  • Parallel background jobs and long‑running tasks

Dependencies for n8n (w/ workers + Task Runner) Hosting

  • PostgreSQL database
  • Redis message queue

Deployment Dependencies

Why Deploy n8n (w/ workers + Task Runner) 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 (w/ workers + Task Runner) 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