A step-by-step local development setup for n8n with Queue Mode, Docker, PostgreSQL, and Redis. Easily scale and test your automations like a real developer!
This repository contains everything you need to get started with a local n8n development environment using Docker Compose.
You’ll find sample .env
and docker-compose.yml
files, plus a handy guide to help you set up, test, and scale your workflows.
- Read the full tutorial on Medium: Build and Test n8n Workflows Like a Pro
n8n-queue-mode/
├── n8n-data/ # Persistent n8n data
├── .env.sample # Sample environment variables
├── docker-compose.yml # Docker Compose config
└── README.md # This file
- Clone this repo
- Copy
.env.sample
to.env
and update secrets - Run:
docker-compose up -d
- Visit http://localhost:5678 and log in
For detailed setup and explanations, read the Medium article.
-
.env.sample
Sample environment variables for n8n, PostgreSQL, and Redis. -
docker-compose.yml
Pre-configured for queue mode, with worker, PostgreSQL, and Redis.
Written by Ahzem
Trainee Software Engineer @ Efito
MIT