Everything Railway publishes
R

Railway

Deploy & Host N8N (w/ workers) | Railway

/deploy/n8n-w-workers--n8n-with-workers

other
Words
498
Reading time
2 min
Published
2023-07-07
Last crawled
2026-11-25
Cited by
1 of their pages
Language
EN
Deploy & Host N8N (w/ workers) | Railway
Railway · 2023-07-07

  1. Home
  2. /
  3. Templates
  4. /
  5. Automation
  6. /
  7. N8N (w/ workers)

A powerful workflow automation tool for technical people

Deploy N8N (w/ workers)

Just deployed

Just deployed

Just deployed

Just deployed

n8n.io - Workflow Automation

Deploy and Host n8n (w/ workers) on Railway

n8n is a workflow automation tool that uses a node-based approach to connect services and automate processes. This template deploys n8n with a worker architecture for handling workflow execution at scale.

n8n.io - Screenshot

About Hosting n8n (w/ workers)

n8n (w/ workers) runs as a multi-service architecture where the main instance handles the web interface and API while worker processes execute workflows. The main service manages workflow definitions, user authentication, and the web UI, while workers pull jobs from a Redis queue to execute workflows independently. The Railway template automatically provisions and configures Redis for job queuing and PostgreSQL for workflow storage. Worker scaling allows handling multiple concurrent workflow executions without blocking the main interface.

Common Use Cases

  • ETL: Move and transform data between different databases and applications
  • Monitoring and Alerting: Set up automated monitoring workflows that trigger alerts based on system conditions

Dependencies for n8n (w/ workers) Hosting

The Railway template includes all required dependencies: Node.js runtime, PostgreSQL database, and Redis message queue.

Deployment Dependencies

Implementation Details

Architecture Components:

This template deploys four services:

  • Primary Service: Main n8n instance serving web UI and API
  • Worker Service: Background worker processes for workflow execution
  • Redis: Message broker for job queue management
  • PostgreSQL: Database for workflow and execution data storage

Worker Configuration:

Workers operate independently from the main service, allowing workflow execution to scale horizontally. The Redis queue coordinates job distribution between the main instance and available workers.

Available Integrations:

n8n provides 200+ nodes for workflow automation. View the complete list at n8n.io/integrations.

Service Configuration:

  • Main Instance: Handles web interface, API requests, and workflow management
  • Worker Processes: Execute workflows pulled from Redis queue
  • Scaling: Add more worker services to handle increased workflow execution load

License Information:

n8n is fair-code distributed under the Sustainable Use License and n8n Enterprise License. Fair-code ensures visible source code, self-hosting availability, and custom function capabilities. Proprietary licenses available for enterprise customers.

Why Deploy n8n (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 (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.


121

View Template

Evolution API with n8n

Automate WhatsApp workflows with Evolution API, n8n, and Postgres.


116

View Template

Postgres Backup

Cron-based PostgreSQL backup to bucket storage


866