Installing n8n in Docker with HAProxy: A Clear Guide for Beginners
July 2, 2025
Hi friends! Today, we’re diving into the world of automation and deploying n8n — a powerful workflow automation tool. We’ll install it in Docker, and use HAProxy as a reliable reverse proxy to expose it to the internet.
This guide is created especially for beginners. We’ll go step by step, explaining every command so you not only do it, but also understand how everything works.
Why do we even need HAProxy?
You could just expose n8n’s ports to the internet, right? Yes, but that’s unsafe and inconvenient. HAProxy acts as both a guard and a dispatcher: