serfriz / caddy-custom-builds

Caddy Docker custom images built with different combinations of modules. All images are updated automatically when a new version of Caddy is released.
GNU General Public License v3.0
67 stars 10 forks source link

Update Dockerfile to include a geoip filter module #15

Closed Rupie17 closed 5 months ago

Rupie17 commented 5 months ago

This module is maintained in the official caddy download page and would allow the ability to filter access to various endpoints in the Caddyfile via the maxmind database.

serfriz commented 5 months ago

Hey @Rupie17 thanks for your suggestion, I think it would be best to add additional modules as a new custom build to give users the option to use Caddy with just the modules they want. I know there are almost unlimited combinations of modules but as long as they are requested in the repository it isn't too much work to keep adding them.

So regarding your request, if you want you can modify the PR and add the build "caddy-cloudflare-ddns-crowdsec-geoip" or I can do it myself later today, let me know what you prefer!

Rupie17 commented 5 months ago

Hi @serfriz, you're totally right, it should be its own build. After I submitted this Pull Request, I started doing some research and reading what it would take to start building docker images and was playing around with docker hub, dockerfile, github actions, etc with various modules and came to that conclusion as well instead of adding to the current one you have. I'll see if I can update this PR to add that, if I can't I'll let you know!

Rupie17 commented 5 months ago

Closing as I opened another pull request with the updates for this new custom build.