Files
lodestar/docker/docker-compose.local.yml
Ragnar 51e1ede62c docs: add comprehensive usage documentation to docker-compose.local.yml (#8441)
- Replace TODO comment with detailed usage instructions 
- Add step-by-step guide for local monitoring setup
- Include port information and service URLs
- Explain host.docker.internal configuration"
2025-09-30 17:22:00 -04:00

40 lines
909 B
YAML

version: "3.4"
# Local monitoring setup with Prometheus and Grafana
# See docs/pages/run/logging-and-metrics/prometheus-grafana.md for detailed usage instructions
services:
prometheus:
build:
context: prometheus
environment:
BEACON_URL: host.docker.internal:8008
VC_URL: host.docker.internal:5064
restart: always
volumes:
- "prometheus:/prometheus"
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "127.0.0.1:9090:9090"
grafana:
build:
context: ..
dockerfile: docker/grafana
restart: always
volumes:
- "grafana:/var/lib/grafana"
- "grafana-dashboards:/dashboards"
environment:
PROMETHEUS_URL: http://host.docker.internal:9090
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "127.0.0.1:3000:3000"
volumes:
prometheus:
grafana:
grafana-dashboards: