I’ve got it setup and it works just as I hoped. The docker plugin reads the docker services labels and starts proxying all of my services.
The issue I’ve run into is that if a single service is configured wrong, caddy will stop proxying all of my services. I guess it’s because the docker plugin generates one big caddyfile and if that caddyfile has errors, caddy won’t start.
I’d like it so that if a service is misconfigured, it doesn’t take everything down.
I don’t know if caddy has an “ignore errors” setting or if it’s the docker plugin I should look into.
I’d love to hear if anyone have any solutions or recommendations.