sigp / lighthouse-metrics

A docker-compose with Grafana + Prometheus for monitoring Lighthouse
145 stars 49 forks source link

Localhost only, take II #18

Closed michaelsproul closed 3 years ago

michaelsproul commented 3 years ago

Docker's bridge networking was blocking us from reaching out of the container network to the host's metrics on localhost:5054 and localhost:5064. Lighthouse only listens on localhost by default, which makes it completely inaccessible to Docker with bridge networking, even via 172.17.0.1.

For now, this PR switches us back to Docker's host networking, but constrains Prometheus and Grafana to only listen on 127.0.0.1.