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 Primary (editor, API, webhooks), Worker, Redis and Postgres, with secrets generated per deployment. It idles at about 0.8 GB of memory. Deploy with your email and a password; a one-time Setup service makes them your owner login. Then sign in at the Primary URL.

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; Setup runs once to create your owner

Add Worker replicas for more load. To upgrade n8n, change the image tag on Primary and Worker together. Back up N8N_ENCRYPTION_KEY: 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-29: owner login from the deploy form.

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
121
View Template
Evolution API with n8n
Automate WhatsApp workflows with Evolution API, n8n, and Postgres.

codestorm
113
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
867