Deploy N8N (Worker, Binary Storage)
Latest Stable Release of n8n (V2)
Just deployed
/bitnami
Worker
Just deployed
Just deployed
/var/lib/postgresql/data
Primary
Just deployed
/N8N_USER_FOLDER/binaryData
Deploy and Host N8N (Worker, Binary Storage) on Railway
n8n is a "fair-code" workflow automation platform blending no-code speed with code flexibility. In high-performance setups, Workers execute heavy tasks asynchronously to prevent blocking the main instance. Binary Storage is configured to save files to a persistent local disk , ensuring fast, low-latency access for both the main instance and workers without external cloud dependencies.
About Hosting N8N (Worker, Binary Storage)
Hosting n8n in this configuration involves deploying Queue Mode to maximize throughput. You run a main Editor/Webhook instance that handles incoming traffic and immediately delegates workflow executions to separate Worker nodes via a Redis message broker.
Common Use Cases
- Local Document OCR & Parsing: Ingesting scanned PDFs via webhook, saving them to local disk, and having a worker run OCR tools (like Tesseract) without slowing down the dashboard.
- High-Frequency IoT Data Processing: Collecting sensor data streams rapidly on the main node while workers process, aggregate, and write the data to the database in the background.
- Privacy-First Media Conversion: Transcoding video or resizing images on-premise (keeping data off the cloud), where workers grind through the CPU-intensive tasks using local file access.
Dependencies for N8N (Worker, Binary Storage) Hosting
- PostgreSQL: The relational database for storing workflow structures, credentials, and execution logs.
- Redis: The message broker used to pass execution job data from the Main instance to the Workers.
- Shared Persistent Volume: A file system is accessible to read/write binary data.
Deployment Dependencies
Why Deploy N8N (Worker, Binary Storage) 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 (Worker, Binary Storage) 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
Worker
n8nio/n8n:stablePrimary
n8nio/n8n:stable