Feature Request: Module installation via docker run


deploying Caddy is a breeze, adding modules is not. Using xcaddy to create a self-deployed build is not a solution for everyone, since you are giving up on automatic updates when you don’t re-deploy them by yourself. Also it’s not possible to use with each operating system (Unraid for example).

Best way to add modules would be via a docker run -e environment variable.

Adding two modules could look like this:

docker run -d --name=CaddyV2 -e module=github.com/porech/caddy-maxmind-geolocation -e module=github.com/caddyserver/nginx-adapter \

Would be great to know what you think about it. Thanks!

Like I said in the other thread, this is not possible.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.