Deploy N8N (w/ FFmpeg)
n8n on Railway with FFmpeg preinstalled for video/audio automation
Redis
Just deployed
/bitnami
Primary
Just deployed
Just deployed
/var/lib/postgresql/data
Worker
Just deployed
Deploy and Host n8n (w/ FFmpeg) on Railway
N8N (w/ FFmpeg) is a 1‑click Railway template for media‑centric automations. It deploys n8n in queue mode with worker(s), Redis (BullMQ), and Postgres. FFmpeg and ffprobe are installed on worker startup, enabling video/audio transcoding, trimming, thumbnail generation, and metadata extraction directly inside n8n, no custom setup required.
About Hosting n8n (w/ FFmpeg)
This template deploys n8n on Railway with a production-ready setup: a main service for the editor and API, worker service(s) that execute workflows, Redis for job queuing, and PostgreSQL for storage. Railway provisions and manages these services so you can deploy quickly without manual configuration. The only difference from the upstream template is the worker image, which includes FFmpeg, enabling media operations directly within your automations. As your workload grows, simply scale worker services to handle more concurrent executions while the main editor remains responsive.
Common Use Cases
- Video/audio transcoding, trimming, normalization, and format conversion
- Thumbnail or GIF preview generation and waveform images
- ffprobe metadata extraction and basic quality checks
- Media preparation for publishing and distribution pipelines
Dependencies for n8n (w/ FFmpeg) Hosting
- Postgres (storage)
- Redis (queue)
Deployment Dependencies
- n8n docs: https://docs.n8n.io/
- Queue mode: https://docs.n8n.io/hosting/scaling/queue-mode/
- Queue env vars: https://docs.n8n.io/hosting/configuration/environment-variables/queue-mode/
- FFmpeg: https://ffmpeg.org/
- Related: N8N (w/ workers + task runner) → https://railway.com/deploy/n8n-w-workers-task-runner
Why Deploy n8n (w/ FFmpeg) 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 (w/ FFmpeg) 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
