Caddy Metrics (Port 2019)

Hi all awesome Developers,
I’m trying to access http://localhost:2019/metrics, but I get connection refused.
Why don’t you expose port 2019 to Docker host.

Please help me…

Take a look at this guide on Tutor documentation for changing the docker-compose files.

Here is an example of a configuration that exposes additional ports.

You just need to change mysql to caddy.

I believe the override file will look something like below, but I have not tested it.

version: "3.7"
      - "80:80"
      - "2019:2019"
1 Like