3 ms·
I'm using Caddy with Docker labels auto-configuration. It's somewhat PITA to configure if you don't need a public cert, eg something for testing or not having
by justsomehnguy 4y ago
I'm using Caddy with Docker labels auto-configuration.
It's somewhat PITA to configure if you don't need a public cert, eg something for testing or not having a public A/AAAA record, but otherwise the automagik just works.
The only negative moment is what Caddy container restarts when the dependent containers starts|restarts, so you briefly lose all connectivity to all sites behind Caddy.
[0] https://github.com/lucaslorentz/caddy-docker-proxy https://github.com/lucaslorentz/caddy-docker-proxy
- jacooper 4y agoThere are also security implications that the webserver has access to the socket directly.
- justsomehnguy 4y ago> Each caddy docker proxy instance can be executed in one of the following modes. > Server > Acts as a proxy to your Docker resources. The server starts without any configuration, and will not serve anything until it is configured by a "controller". > Server instances doesn't need access to Docker host socket and you can run it in manager or worker nodes. This can be mitigated by running in the Controller mode