Will installing Traefik scarper my plans

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?

Zikeji,
@Zikeji@programming.dev avatar

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: github.com/n8n-io/n8n/blob/…/docker-compose.yml

Codilingus,

Can confirm, have installed n8n for a friend and traefik wasn’t need. Then another friend out of state wanted access to it. So I installed traefik + authelia + crowdsec w/ traefik bouncer.

Zikeji,
@Zikeji@programming.dev avatar

I do recommend this example docker compose though: github.com/n8n-io/n8n/…/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. docs.docker.com/compose/…/05-services/#ports

sabreW4K3,
@sabreW4K3@lazysoci.al avatar

Thank you so much, I’ll give it a go

Zikeji,
@Zikeji@programming.dev avatar

My pleasure. Feel free to reach out if you have additional questions.

sabreW4K3,
@sabreW4K3@lazysoci.al avatar

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


<span style="color:#323232;">Init Problem
</span><span style="color:#323232;">
</span><span style="color:#323232;">There was a problem loading init data:
</span><span style="color:#323232;">Unauthorized 
</span>

What have I done wrong?

Zikeji,
@Zikeji@programming.dev avatar

I’m not actually and you tell from that. Did you follow a guide / what precise steps did you perform?

sabreW4K3,
@sabreW4K3@lazysoci.al avatar

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] community.n8n.io/t/…/6

  • All
  • Subscribed
  • Moderated
  • Favorites
  • homelab@lemmy.ml
  • cisconetworking
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • cubers
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • tacticalgear
  • ethstaker
  • kavyap
  • Durango
  • JUstTest
  • everett
  • normalnudes
  • anitta
  • mdbf
  • ngwrru68w68
  • tester
  • modclub
  • osvaldo12
  • provamag3
  • khanakhh
  • Leos
  • megavids
  • lostlight
  • All magazines