Files
lodestar/docker/docker-compose.local.yml
2021-03-06 12:16:30 +01:00

35 lines
694 B
YAML

version: "3.4"
# Configuration to work with a local non-dockerized Lodestar node
# For local testing and quick debugging
#
# HOW TO USE: Start a Lodestar node, then run
#
# docker-compose -f docker/docker-compose.local.yml up -d
services:
prometheus:
build:
context: prometheus
args:
config_file: prometheus.local.yml
restart: always
volumes:
- "prometheus:/prometheus"
network_mode: host
grafana:
build:
context: grafana
args:
datasource_file: datasource.local.yml
restart: always
volumes:
- "grafana:/var/lib/grafana"
depends_on: [prometheus]
network_mode: host
volumes:
prometheus:
grafana: