My homelab is still in its infancy as I'm at the start of my self-hosting journey. I'm now down the rabbit hole though and where I can self host, I'd like to.
Not long back, I asked for some advice regarding an IFTTT replacement. I only need a tiny subset of the service, in that I want it to check some RSS feeds and send a notification if it finds one. The people of the fediverse are amazing and I got some great recommendations, however some felt like a great fit but didn't pan out. That left me with less and less.
One of the suggestions though was n8n and as I looked into giving it a whirl, I noticed it needed Traefik to be installed.
Now here's the thing, I haven't sorted out my router yet and since nothing I'm doing is facing the net, I'm kinda just chilling without a proper set up. I'm wondering, if I install Traefik along with n8n, will it break my other services? Will I still be able to install my homebrew router with OpenWRT when I finally sort that out and will it impact the IPTV which I'll sort out when I've sorted out the router?
Traefik is just a reverse proxy. All that really matters is the ports you have it listening on and your current, if any, reverse proxy. And even if your preference is say, nginx w/ npm (nginx proxy manager) that's not to say you can't just reverse proxy to Traefik (though not recommended).
I will say however that Traefik is not required for N8N, it's just an example in their docs. All it does is listen on port 5678, so you just use that port in your reverse proxy configuration. They do have a docker compose file without Traefik here: https://github.com/n8n-io/n8n/blob/master/docker/compose/withPostgres/docker-compose.yml
I do recommend this example docker compose though: https://github.com/n8n-io/n8n/tree/master/docker/compose/withPostgresAndWorker
That one spins up N8N with a worker that handles your workflows, which is useful if you want to scale up in the future. In any case either compose file would let you access N8N locally on port 5678, and the port can be altered in the compose file itself, where you change the left side to the port you want. https://docs.docker.com/compose/compose-file/05-services/#ports
Thank you so much, I'll give it a go
My pleasure. Feel free to reach out if you have additional questions.
Sorry to bother you, but I do actually have a question.
I created a superuser and a normal user and saved both to the .env file I placed in my /opt/n8n directory alongside the init-data.sh and docker-compose
I then did a pull and then done an up and then I went to log in, but I'm getting this message
What have I done wrong?
I'm not actually and you tell from that. Did you follow a guide / what precise steps did you perform?
I took a break and then did a Google and it turns out that it's this[1] issue. Thank you so so much, you're amazing!
[1] https://community.n8n.io/t/not-able-to-login-to-either-docker-or-npm-version-of-n8n-via-local-network/42120/6