stack-orchestrator/app/data/compose/docker-compose-prometheus-grafana.yml

22 lines
546 B
YAML
Raw Normal View History

2022-08-12 17:32:40 +00:00
version: "3.2"
services:
# If you want prometheus to work, you must update the following file in the ops repo locally.
# localhost:6060 --> go-ethereum:6060
prometheus:
restart: always
user: "987"
image: prom/prometheus
volumes:
2022-08-23 22:02:38 +00:00
- ${cerc_ops}/metrics/etc:/etc/prometheus
2022-08-12 17:32:40 +00:00
- ./prometheus-data:/prometheus
ports:
- "127.0.0.1:9090:9090"
grafana:
restart: always
user: "472"
image: grafana/grafana
volumes:
- ./grafana-data:/var/lib/grafana
ports:
- "127.0.0.1:3000:3000"