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.

https://docs.tutor.overhang.io/dev.html#override-docker-compose-volumes

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"
services:
  caddy:
    ports:
      - "80:80"
      - "2019:2019"
1 Like

@uetuluk , thank you very much.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.