Deploy n8n with workers (1-click)

n8n with workers. Private database and Redis, no surprise n8n upgrades.

Deploy n8n with workers (1-click)

Just deployed

/var/lib/postgresql/data

Just deployed

Just deployed

/data

Deploy and Host n8n with workers (1-click) on Railway

n8n is a self-hosted workflow automation platform. This template runs your workflows on workers, keeps Postgres and Redis off the public internet, and pins a tested n8n version, so a new major release never reaches you untested.

n8n with workers on Railway

About Hosting n8n with workers (1-click)

You get four services: Primary (editor, API and webhooks), Worker, Redis and Postgres, with passwords and the encryption key generated for each deployment. It uses about 0.8 GB of memory at idle. Deploy, open the Primary service's URL, and create your account.

Common Use Cases

  • Webhook and API integrations
  • Scheduled data syncs and reports
  • AI agents connected to your tools

Dependencies for n8n with workers (1-click) Hosting

  • PostgreSQL
  • Redis

Deployment Dependencies

Implementation Details

Architecture: only Primary has a public URL; Redis, Worker and Postgres stay on the private network

Add Worker replicas to handle more load. To upgrade n8n, change the image tag on Primary and Worker together. Back up N8N_ENCRYPTION_KEY: your saved credentials can't be decrypted without it.

Why Deploy n8n with workers (1-click) 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 with workers (1-click) 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-27: first release, n8n 2.44.7, PostgreSQL 18, Redis 8.2.

Based on templates by 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