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
89 stars 11 forks source link

Docker Proxy #35

Closed nightshark closed 4 days ago

nightshark commented 4 days ago

Which Caddy modules need to be updated? lucaslorentz/caddy-docker-proxy

I can't seem to get this to recognize the docker labels. I see this mentioned in the docker-proxy repo and it's not in your dockerfile. Could that be the issue?

Custom images

If you need additional Caddy plugins, or need to use a specific version of Caddy, then you may use the builder variant of the [official Caddy Docker image](https://hub.docker.com/_/caddy) to make your own Dockerfile.

The main difference from the instructions on the official image is that you must override CMD to have the container run using the caddy docker-proxy command provided by this plugin.
serfriz commented 4 days ago

You are right, I forgot to add the line CMD ["caddy", "docker-proxy"] to the Dockerfile of some docker-proxy builds 😅. I'll fix it in a couple of minutes and it will take about one hour to rebuild the containers. Thank you for reporting it!