Closed jeffbrl closed 6 months ago
lucaslorentz/caddy-docker-proxy:2.4.0
is a super old version. Please use the latest.
Oops. That label is cited in the README. I assumed it was recent. I will try again with the latest commit.
v2.8.10 behavior functions as expected. Thanks for the software. Great stuff.
I am executing a docker compose YAML configuration in portainer. My objective is to front a python app with caddy-docker-proxy. My interpretation of the docs is that I can use
caddy.reverse_proxy: "{{upstreams http 5000}}"
to insert an entry in caddy's config to proxy http traffic to port 5000 of the current container with that associated label. The resulting caddy configuration is not what I expect. I acknowledge that I may be misinterpreting the documentation.YAML
Here is the resulting caddy config.
I expected to see the IP address of the 'fbmweb' container and port 5000. What mistake or incorrect assumption have I made?