n8n Queue & Worker Stack
A documented Docker Compose stack for queue-mode n8n workflows, with Redis, PostgreSQL, and worker-oriented execution.
A question. A process.
Work you can explore.
Follow the decisions behind the implementation, then inspect the original work.
Chapter 1 of 4 · The question
The question behind the build.
A useful automation setup needs care around execution, persistence, scaling, recovery, and upgrades. Connecting a few workflow nodes is only one part of the system.
Follow the implementation.
- 01
Separate workflow editing, webhook handling, and queued worker execution.
- 02
Use Redis for the queue and PostgreSQL for workflow and execution persistence.
- 03
Include worker-scaling logic, runner configuration, monitoring, and dependency health checks.
- 04
Document backups, operations, troubleshooting, and upgrade or rollback procedures.
- 01Webhook
- 02Redis queue
- 03Worker execution
- 04PostgreSQL
Try the project for yourself.
The repository combines workflow examples with the infrastructure and runbooks around them. It reflects my interest in systems that can be understood, repeated, and maintained.
Choose where to look deeper.
Search the linked source inventory or narrow it to the kind of artifact you want to inspect. Files open at their original source.
7 linked source files
No linked files match this view.
The source
keeps moving.
Source updated
A production-grade, self-hosted n8n deployment with queue-mode scaling, PostgreSQL persistence, and an isolated Python/JavaScript code execution sidecar.
Current README excerpt
A production-grade, self-hosted n8n deployment with dynamic worker autoscaling, Puppeteer/Playwright browser automation, queue-mode execution, PostgreSQL persistence, and automated Redis queue monitoring.
A source excerpt, not an independently verified outcome.