stefanprodan / dockprom

Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager
MIT License
6.02k stars 1.72k forks source link

change port 9090 #257

Closed duckmeimfamous closed 2 years ago

duckmeimfamous commented 2 years ago

Hi, could you please change port 9090, it's used bu cockpit or other services for a lot of us :)

Mikhail566 commented 2 years ago

I also have such a question. It would be great to make a configuration file where you could set a port for each service.

nightah commented 2 years ago

You can do this with Docker by modifying the docker-compose.yml, specifically the following lines:

https://github.com/stefanprodan/dockprom/blob/master/docker-compose.yml#L123-L127

The left side of the port mapping is the port for the host.