3 ms·
Does Caddy automatically detect when you deploy a new Docker service and reconfigure itself to route traffic to that service? That's pretty much the main value
by Ajedi32 1y ago
Does Caddy automatically detect when you deploy a new Docker service and reconfigure itself to route traffic to that service? That's pretty much the main value preposition of Traefik for me. I don't want to be messing with config files when I'm deploying.
- sph 1y agoCaddy is a webserver like Apache or nginx. Integration with Docker is a higher-level layer. There’s caddy-docker-proxy but I haven’t tried it.
- Ajedi32 1y agoTraefik is also a web server like Apache or Nginx and it does integrate with Docker. I thought that feature was like the entire reason to use Trafik, so I guess I just find the comparison a bit strange.
- LtdJorge 1y agoTraefik is a proxy first
- jspdown 1y agoTraefik maintainer here. Traefik is a reverse proxy and load balancer that automatically discovers services and configures routing rules dynamically through integration with various configuration sources such as container orchestrators (Docker, K8s, Nomad, Consul, ECS, ...) As of today, Traefik is not a web server.
- rirze 1y agoYes, there's [caddy-docker-proxy](https://github.com/lucaslorentz/caddy-docker-proxy https://github.com/lucaslorentz/caddy-docker-proxy) which I personally use in my homelab. It will read and update on docker compose labels to configure the route. Highly recommend.
- ajayvk 1y agoI have been building an app deployment service https://github.com/openrundev/openrun https://github.com/openrundev/openrun. For the use case of network routing for services running in containers, OpenRun provides a simpler abstraction. It does the container management and the network proxying.