Comment on Automatically publish .local addresses from Docker Compose labels
jrbaconcheese@yall.theatl.social 1 year ago
If I’m understanding this correctly, this (plus some other stuff I probably don’t have setup, like traefik) would publish to a local-DNS-like entity so that I could go to sonarr.local and jellyfin.local instead of my current way of memorizing/ bookmarking all the various addresses in the form of server_ip:port# ?
duck_lol@programming.dev 1 year ago
Yes, exactly!
You actually don’t need Traefik at all - if your containers are already available server_ip:port, on your local network, whether directly or by another proxy, you can just add the label (
traefik.http.routers.x.rule=Host(`example.local`)
) to the container and this will pick it up, no Traefik needed.I’m meaning to rework the README a bit to make this clear, and perhaps add a simpler label you can use :)