Closed wsw70 closed 4 months ago
See the README: https://github.com/lucaslorentz/caddy-docker-proxy?tab=readme-ov-file#custom-images
This is where I came from.
I just found the issue with was a mistake of mine: I thought I had the latest version of my image but I did not. It works great now.
I use
caddy-docker-proxy
successfully with my services using labels in their docker-compose files to configure Caddy on the fly. Everything works.I now need to add an extra plugin to caddy (
github.com/caddy-dns/ovh
) and therefore build a new image with bothgithub.com/lucaslorentz/caddy-docker-proxy/v2
andgithub.com/caddy-dns/ovh
. I tried to do it in two different waysxcaddy
caddy add-package
Both ultimately create a new
/user/bin/caddy
in my Dockerfile (the example below is the latter approach)When running this image, I just get the following short log:
When checking the compiled modules from within the running container with
caddy list-modules
I get the expected extra three.Non, with the original
github.com/lucaslorentz/caddy-docker-proxy/v2
I get plenty of messages telling me which contained were automatically parsed and added to the configuration:My question: is there anything special I need to do enable
github.com/lucaslorentz/caddy-docker-proxy/v2
?