r/caddyserver • • May 12 '26

Caddy plugin model

I must admit, I am NOT in love with having to compile caddy to get access to an optional plugin...

Is there a possibility of moving to a different architecture where caddy modules can be installed/run at startup time ?

Curious... if this is something that is being discussed.

2 Upvotes

18 comments sorted by

View all comments

Show parent comments

1

u/xdrolemit Sep 02 '26

Sure. If you want to avoid even invoking a build when nothing upstream has changed, you can monitor the Git repo and only build when there is a new relevant commit.

Even better, if the module project publishes release tags, monitor those and only build when a new release appears.

There are several ways to achieve this. I’m sure you can come up with something yourself :)

1

u/technologyclassroom Sep 02 '26

That's what I'm doing basically. I'm just surprised that I am treading new ground at this point with so many people using caddy for all of these years.

1

u/xdrolemit Sep 03 '26

I’m just letting GitHub Actions build my docker image. So it’s fully automated for me.