---
title: "Deploy n8n Pro Stack"
description: "[Jul'26] Deploy n8n with workers, Redis & Postgres, scalable automation"
category: "Automation"
url: https://railway.com/deploy/n8n-pro-stack
---

# Deploy n8n Pro Stack

[Jul'26] Deploy n8n with workers, Redis & Postgres, scalable automation

**[Deploy n8n Pro Stack on Railway](https://railway.com/template/n8n-pro-stack)**

- **Creator:** codestorm
- **Category:** Automation
- **Total deploys:** 213

## Template content

### Postgres https://img.icons8.com/color/48/postgreesql.png

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl
- **Start command:** `/bin/sh -c "unset PGPORT; docker-entrypoint.sh postgres --port=5432"`
- **Public domain:** Yes

### Primary https://devicons.railway.app/i/n8n.svg

- **Image:** n8nio/n8n
- **Start command:** `n8n start`
- **Health check:** /healthz
- **Public domain:** Yes

### Worker https://devicons.railway.app/i/n8n.svg

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

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **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"`

## Documentation

# Deploy and Host n8n Pro Stack on Railway

The **n8n Pro Stack** combines the power of n8n's core automation engine with horizontal scalability. It includes dedicated workers, Redis for caching and queue management, and PostgreSQL for reliable data persistence. This stack is designed for building high-performance, fault-tolerant automation workflows.

## About Hosting n8n Pro Stack

Hosting the **n8n Pro Stack** involves deploying and linking four core services: the main n8n application, worker services to run tasks in parallel, Redis for messaging and caching, and PostgreSQL for storing workflows and logs. Using Railway, you can provision these services easily, configure environment variables, manage networking between containers, and scale resources based on your workload. Railway’s managed services streamline this entire setup.

## Common Use Cases

* **High-Volume Data Processing &amp; ETL**: Process large datasets with parallel workers for faster results.
* **Complex Business Workflow Automation**: Execute API-driven workflows with conditional logic and data integrity.
* **Webhook &amp; API Scaling**: Handle concurrent webhooks or API calls with Redis and worker orchestration.

## Why Deploy n8n Pro Stack 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 Pro Stack 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.

## Dependencies for n8n Pro Stack Hosting

* `n8n Main Application`
* `n8n Worker Service(s)`
* `Redis` (for caching and message queues)
* `PostgreSQL` (for persistent storage)

### Deployment Dependencies

* [Official n8n Documentation](https://docs.n8n.io)
* [Railway Documentation](https://docs.railway.app)
* [Docker Hub: n8n Image](https://hub.docker.com/r/n8nio/n8n)
* [Docker Hub: PostgreSQL Image](https://hub.docker.com/_/postgres)
* [Docker Hub: Redis Image](https://hub.docker.com/_/redis)

## 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) — [Jul'26] WhatsApp automation platform using Evolution API, n8n & PostgreSQL
- [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-pro-stack
