Comment on 🔒 Setting Up Headscale & Tailscale on NixOS: A Zero-Trust Networking Guide for ❄️ NixOS - YouTube
Object@sh.itjust.works 4 days agoIn terms of setup, Caddy is a lot simpler, but you will find more tutorials for Traefik and it has better integration with Docker. You can add labels to a container and Traefik uses that as config, whereas in Caddy, you need to set up both the container and the config file. If you want to drop a service, then it is easier in Traefik for this reason. But with decent Nix code, you can basically replicate this in Caddy. Once you set them up, they’re pretty much the same.
DarkSirrush@lemmy.ca 4 days ago
Note that its also possible to set up service auto discovery with traefik, the only traefik related config I do on new containers is
Traefik.enabled=true
Vendetta9076@sh.itjust.works 3 days ago
Shit there is? How do I set up auto discovery?
DarkSirrush@lemmy.ca 3 days ago
I can share my traefik setup - note I am doing this on my phone at work, so I might miss something