Deploy n8n (w/ workers + webhook processor)

n8n with workers and a webhook processor. Database stays private.

Deploy n8n (w/ workers + webhook processor)

Just deployed

Webhook processor

n8nio/n8n:2.44.7

Just deployed

Just deployed

/data

Just deployed

/var/lib/postgresql/data

Deploy and Host n8n (w/ workers + webhook processor) on Railway

n8n is a self-hosted workflow automation platform. This template gives webhooks their own service next to the workers, so webhook traffic and heavy workflows don't slow down your editor. The database and Redis stay off the public internet.

n8n in queue mode on Railway

About Hosting n8n (w/ workers + webhook processor)

Queue mode needs five services wired together with shared secrets and private networking. This template sets it all up. Deploy, open the Primary service's URL, and create your account.

Common Use Cases

  • High-volume webhook integrations
  • Long-running workflows: data syncs, ETL, reports
  • AI agents connected to your tools and APIs

Dependencies for n8n (w/ workers + webhook processor) Hosting

  • PostgreSQL
  • Redis

Deployment Dependencies

Implementation Details

Architecture: Primary and Webhook processor have public URLs; Redis, Workers and Postgres stay on the private network

Add Worker replicas to handle more load. Passwords and the encryption key are generated for each deployment. Back up N8N_ENCRYPTION_KEY: your saved credentials can't be decrypted without it.

Why Deploy n8n (w/ workers + webhook processor) 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 + webhook processor) 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.

Updated 2026-10-26: official Redis image, unique secrets per deployment, PostgreSQL 18.

Based on templates by Nikolai and Jack.


Template Content

More templates in this category

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

jakemerson
120
View Template
Evolution API with n8n
Automate WhatsApp workflows with Evolution API, n8n, and Postgres.

codestorm
103
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
870