Closed marcindulak closed 5 years ago
You can map whichever port you like when you use docker, so no need to set a specific one inside the container, see https://docs.docker.com/config/containers/container-networking/#published-ports
I could use any port, and probably will use 9412
for the prometheus target, since this is the port which https://github.com/snakecharmer/sentry_exporter registered on https://github.com/prometheus/prometheus/wiki/Default-port-allocations.
https://github.com/prometheus/prometheus/wiki/Default-port-allocations