---
title: "Deploy n8n Production Setup with Workers"
description: "Production-ready latest n8n with workers, Redis & Postgres - Jul 2026"
category: "Automation"
url: https://railway.com/deploy/n8n-production-starter-with-workers
---

# Deploy n8n Production Setup with Workers

Production-ready latest n8n with workers, Redis & Postgres - Jul 2026

**[Deploy n8n Production Setup with Workers on Railway](https://railway.com/template/n8n-production-starter-with-workers)**

- **Creator:** Aceweb
- **Category:** Automation
- **Total deploys:** 13

## Template content

### n8n worker https://devicons.railway.app/n8n

- **Image:** n8nio/n8n:2.30.6
- **Start command:** `n8n worker`

### n8n admin https://devicons.railway.app/n8n

- **Image:** n8nio/n8n:2.30.6

### redis for n8n https://devicons.railway.app/redis

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### postgres for n8n https://devicons.railway.app/postgres

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

## Documentation

# 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.


## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/n8n-production-starter-with-workers
