Caddy as dynamic reverse proxy for docker

Hello,

I would like to know if it exists a such plugin : listening docker events api and so creating route to access docker containers ?

I would be interested to do it else.

Thanks

You could create something using docker-gen and caddy graceful restarts.

Thanks for information. I found

https://github.com/BlackGlory/caddy-proxy which use docker-gen

I will try it. Thanks

I’m not sure if this is similar to what you want, but maybe you’d be interested in https://github.com/mholt/caddy/pull/564 ?

I have created a tool called caddy-gen, it is a mix of docker-gen and caddy (with graceful restarts).

Check it out: GitHub - wemake-services/caddy-gen: Automated Caddy reverse proxy for docker containers