How to Run n8n Locally (Full On-Premise Setup Tutorial)



Join the NetworkChuck Academy!: https://ntck.co/NCAcademy In this video, I’m going to show you how to self-host n8n, on-prem in …

source

Reviews

0 %

User Score

0 ratings
Rate This

Sharing

Leave a reply to @Hackerstherising Cancel reply

Your email address will not be published. Required fields are marked *

39 Comments

  1. In this video, I’m going to show you how to self-host n8n, on-prem in your lab, or even on a VPN in the cloud. I’ll walk you through a full local installation of n8n from scratch, from setting up Docker, to getting logged in.

    RESOURCES:
    ▶ Watch my original n8n video: https://youtu.be/ONgECvZNI3o
    🐬 Take a deeper dive into Docker: https://youtu.be/eGz9DS-aIeY

    📄 Official n8n Docs: https://docs.n8n.io
    ☁ Sign up for Cloudflare (It’s FREE): https://dash.cloudflare.com
    🧰 Docker Install: https://docs.docker.com/engine/install/ubuntu/
    🔐n8n Security Setup: https://docs.n8n.io/security

  2. I'm amazed at how easy docker makes this… never used it in the past. always had to setup my own node server, redirects, ssl. One tiny config file and it does everything. Nuts.

  3. thanks,I just have a couple of questions : Can I install this on a Raspberry Pi? Why is Cloudflare required for this installation? Is it possible to run everything locally instead, without needing Cloudflare?

  4. Weird that there were so many steps for Linux, I just ran it on Windows and it was super easy, install docker, run terminal command (Installs image and runs container) and that's all. Good video, thanks!

  5. can someone explain this for me why is it here local if you need a domain name because you could use localhost or am i wrong?

  6. Keep up this amazing work. One of the best at explaining anything and this got me past an external auth barrier. (spotify which allows a localhost callback but their website breaks with n8n's use of a hyphen in the url path segment). after following the video all i had to change were a few docker env vars from the initial install (adding the subdomain, the domain, and the webhook_url env vars).

    so many answers on the internet are "just use a tunnel" but don't bother to actually explain it. this was so easy to follow

  7. to all the friends setting this up a bit of fore warning. cloud flare has been cited in numerous scenarios (i got hit personally) where they will say the use you have for the account is free and then they will arbitrarily say your using the service too much, even though your well within the free tier. they will then say pay us or have all your configurations and stuff deleted without warning. as someone who had his stuff deleted heed my warning and use some other service. i use Clouddns there is one like noip that have some drawbacks for their free accounts but they dont pull shady stuff.

  8. Not sure if its in the comments already but here is what I discovered. I installed Ubuntu on a MAC. I am using CloudFlare and Docker just as the instructions showed. Only after about three hours of troubleshooting i found that Nextcloud installed via Snap can interfere with Docker containers like n8n and Traefik by binding to ports 80 and 443 via its embedded Apache (httpd) server.
    This causes errors such as:
    failed to bind host port for 0.0.0.0:80: address already in use

    Resolution:
    Run sudo snap stop nextcloud and sudo snap disable nextcloud to free ports for Docker-based reverse proxies.

  9. Nice. I also like to add a Cloudflare Application in front of the Tunnel to provide an additional layer of authentication. The best part of this is that all authentication occurs on Cloudflare's servers, so my server is never touched until the user passes authentication.

  10. Not sure if I'm doing something wrong with Traefik… I am running more than one service on docker already, so I am stuck on config for serving n8n on a different port. Wish me luck…

  11. @networkchuck_v2 Chuck, did it say your site was not safe because you turned of TLS verification in cloudflare? I think Chrome has some new security settings. Please confirm and let us know. Thanks

  12. I might be thick but I have been unable to get this one going. I did the setup with cloudflare, but all I get is a "404 not found" when connecting to the domain I setup with that