Deploy n8n Production Setup with Workers
Production-ready latest n8n with workers, Redis & Postgres - Apr 2026
n8n worker
Just deployed
n8n admin
Just deployed
/home/node/.n8n
redis for n8n
Just deployed
/data
postgres for n8n
Just deployed
/var/lib/postgresql/data
Deploy and Host n8n Production Setup with Workers on Railway
n8n Production Setup with Workers is a production-ready deployment of n8n on Railway using queue mode, dedicated workers, Redis, and PostgreSQL. It enables scalable workflow execution, reliable webhook handling, and background job processing, making it suitable for real-world automation systems and AI-driven workflows.
About Hosting n8n Production Setup with Workers
This template runs n8n as a multi-service architecture optimized for production workloads.
The main service handles the web UI, authentication, API requests, webhooks, and workflow orchestration.
The worker service executes workflows independently by pulling jobs from a Redis queue, allowing execution to scale without blocking the main application.
Redis manages queue coordination, while PostgreSQL stores workflows, credentials, and execution data.
This separation improves reliability and makes it easy to scale horizontally by increasing worker instances as usage grows.
Common Use Cases
- AI agents and workflow orchestration
- webhook processing at scale
- ETL and system integrations
- scheduled jobs and recurring automations
- monitoring and alerting workflows
Dependencies for n8n Production Setup with Workers Hosting
This template includes all required components:
- n8n (main + worker services)
- PostgreSQL database
- Redis queue
- persistent storage volumes
Deployment Dependencies
- n8n Documentation – Queue Mode & Workers: https://docs.n8n.io/hosting/scaling/queue-mode/
- n8n Integrations: https://n8n.io/integrations
- Railway Documentation: https://docs.railway.com
- Railway Auto Updates: https://docs.railway.com/deployments/image-auto-updates
Implementation Details
Architecture components:
- Primary Service – main n8n instance (UI + orchestration)
- Worker Service – background execution workers
- Redis – queue coordination
- PostgreSQL – persistent workflow storage
Scaling:
Increase worker replicas to support more concurrent workflow executions.
This setup is designed for:
- production workloads
- AI agent pipelines
- high-throughput automation systems
Why Deploy n8n Production Setup with 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 Production Setup with 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
n8n worker
n8nio/n8n:2.17.7n8n admin
n8nio/n8n:2.17.7redis for n8n
redis:8.2.1postgres for n8n
ghcr.io/railwayapp-templates/postgres-ssl:18