I am trying to setup caddy-docker-proxy as a reverse proxy for unifi-controller, so probably related to #329. I am trying to recreate the following Caddyfile, which works as intended, using labels in docker-compose.yml.
This does not work as intended. Looking at the routes from /config/caddy/autosave.json inside the container, we can see that the generated config is not as expected:
The issue seems to be that I was starting the container from Dockge, instead of doing docker-compose up -d. Apparently these are not doing the same thing.
I am trying to setup caddy-docker-proxy as a reverse proxy for unifi-controller, so probably related to #329. I am trying to recreate the following Caddyfile, which works as intended, using labels in
docker-compose.yml
.The following labels inside
docker-compose.yml
are what I am trying to generate the above with.This does not work as intended. Looking at the routes from
/config/caddy/autosave.json
inside the container, we can see that the generated config is not as expected:The expected value of
tls
would be:I have tried with all of the following labels, but none of them seems to work as intended.