this post was submitted on 01 May 2024
100 points (98.1% liked)

Selfhosted

40296 readers
213 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Upgrade went mostly without a problem (had set more than one Hostname for a service before, seems to not work anymore lol), and i have a pretty large configuration that has grown over the past two years.

What i noticed is that it is quite a bit faster. Also the dashboard shows a little more information than before and the logs have colours now.

top 25 comments
sorted by: hot top controversial new old
[–] unbuckled@lemm.ee 19 points 6 months ago (2 children)

That’s great for them and good on you for upgrading. After the upgrade from v1 to v2, I switched to caddy. Traefik was too much for me.

[–] jkrtn@lemmy.ml 5 points 6 months ago

Damn, same, nuked Traefik when v2 broke the setup I spent hours trying to figure out. I don't think the concepts are overwhelming, but something is profoundly wrong with their documentation habits. Now someone in the comments here is saying v3 changes the way paths are read with regex? Lol, fuck Traefik, never again.

[–] johntash@eviltoast.org 4 points 6 months ago (1 children)

Nothing wrong with that, Caddy is great!

[–] Static_Rocket@lemmy.world 2 points 6 months ago

I wish nginx had the concept of default header values for reverse proxies...

I mean, you can kind of do it with macros but man...

[–] Appoxo@lemmy.dbzer0.com 8 points 6 months ago (3 children)

Found it out the hard way because I have automatic updates with watchtower... xD

[–] MangoPenguin@lemmy.blahaj.zone 7 points 6 months ago* (last edited 6 months ago) (1 children)

Definitely worth using specific versions on your docker images if you're doing automatic updates.

traefik:mimolette for example should keep you on 2.x versions while still getting patches and bug fixes.

[–] Appoxo@lemmy.dbzer0.com 1 points 6 months ago (1 children)

Yeah...I should be doing it but I am honestly too lazy to change my compose.
The only place I actually did it is my mongodb container bexause I know absolutely nothing about it.
At lwast I can rescue my traefik config :p

[–] MangoPenguin@lemmy.blahaj.zone 2 points 6 months ago

I mean same, I say it's worth using but I don't do it either haha.

Everything is backed up every night, so if something breaks to the point of data loss I just fix it after.

[–] thegreekgeek@midwest.social 2 points 6 months ago

Oof, that's what killed my V1 setup lol

[–] passepartout@feddit.de 1 points 6 months ago (1 children)

I hope it went well :) i was completely ready to go back changing the image tag to v2 but didn't need to.

[–] Appoxo@lemmy.dbzer0.com 2 points 6 months ago

Juat an error due to the swarmRefresh setting in the traefik.yml.
Because I am not running in swarm mode it threw an error.
Oh well. Life and learn ¯\_(ツ)_/¯

[–] JuvenoiaAgent@lemmy.ca 8 points 6 months ago

Awesome! Just updated without issues, I only had to make one tiny change to my config.

[–] timbuck2themoon@sh.itjust.works 3 points 6 months ago (1 children)

I might give this a go. Have been using bog standard ingress nginx for my k8s but have wanted to try a gateway supporting ingress product for a while.

Thanks op.

[–] Appoxo@lemmy.dbzer0.com 5 points 6 months ago

He... give it a Go. ;)

[–] rsolva@lemmy.world 3 points 6 months ago

Does it support Podman yet?

[–] Strit@lemmy.linuxuserspace.show 2 points 6 months ago (2 children)

If I'm not doing anything fancy and just use it for basic reverse proxy stuff for my docker containers, would I need to change stuff in the configs? Most of the stuff mentioned in the migration guide is about tls.caOptional stuff, which I don't believe I use.

[–] gencha@lemm.ee 4 points 6 months ago (2 children)

PathPrefix no longer being regex stood out

[–] Lem453@lemmy.ca 2 points 6 months ago

Sounds like they actually changed it to Go language regex syntax instead of pearl syntax.

The documentation certainly makes it sounds like they just got rid of regex but this forum post seems to show otherwise.

https://community.traefik.io/t/pathprefix-regex/21819

I'm definitely in the wait for a month at least before attempting this upgrade camp...

[–] Kata1yst@kbin.social 1 points 6 months ago

For real? Damn it that's going to be painful.

[–] sxt@lemmy.world 1 points 6 months ago (1 children)

All I had to do was remove one field to do with docker swarm which I don't think I was using anyway.

[–] Strit@lemmy.linuxuserspace.show 1 points 6 months ago

Cool. I don't have any swarm related config stuff.

[–] Decronym@lemmy.decronym.xyz 1 points 6 months ago* (last edited 6 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
HTTP Hypertext Transfer Protocol, the Web
k8s Kubernetes container management package
nginx Popular HTTP server

2 acronyms in this thread; the most compressed thread commented on today has 11 acronyms.

[Thread #730 for this sub, first seen 1st May 2024, 08:45] [FAQ] [Full list] [Contact] [Source code]

[–] jenny_ball@lemmy.world 0 points 6 months ago (1 children)
[–] Appoxo@lemmy.dbzer0.com 1 points 6 months ago (1 children)

Yaml is better. But it has a dashboard.

[–] chiisana@lemmy.chiisana.net 4 points 6 months ago

Not necessarily just yaml — there are things yaml cannot do well, but even ignoring that, traefik can also use toml, or container labels — but rather, the entire concept of infrastructure as code is way better than GUIs. Infrastructure as code allows for much better linting, testing, and version controls thereby providing better stability and reproducibility.