I’m migrating my server to a new server and wanna try something new. I’ve been using nginx to reverse proxy my stuff and I recently heard about traefik being able to read labels off docker containers. I’ve been googling around but I can’t for the life of me figure out how to get the access to the dashboard without having insecure mode on.
Personally I’ve used traefik, Nginx and caddy. They’re all interesting in their own ways. My little docker setup is currently using caddy-docker-proxy. It’s been set and forget for me. You might need some adjustments based on your TLS requirements etc.
Insecure mode is enabling the dashboard.
Edit: if you get stuck here’s a quick demo Lemmy config. I have a traefik 3.0 instance setup there as well.
ah ok, I got it working now, guess I have to use an nginx container anyway to host static stuff tho, the config being attached to a container is def a nice thing
Here is an alternative Piped link(s): https://piped.video/wLrmmh1eI94
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I’m open-source, check me out at GitHub.
man, how did I not find that, that was just what I was looking for.
For those using traefik I would recommend the dynamic file config. You don’t have to take down your containers just to change a proxy setting.
With labels you just update the service definition by redeploying the stack; the dynamic file provider adds nothing in most circumstances.
You certainly don’t need to take down your container except to change things that are part of the Traefik static configuration.
you can also try Varnish cache is a web application accelerator that is used as caching HTTP reverse proxy.