forked from cerc-io/stack-orchestrator
9ba410b095
* Setup Prometheus and Grafana for monitoring stack * Add dashboard for azimuth watchers * Add a dashboard for sushiswap watcher * Persist prometheus server data * Additional metrics in watcher dashboards * Update dashboards and add for merkl sushiswap watcher * Add dashboards for remaining azimuth watchers * Separate out preconfigured watcher dashboards and add instructions * Keep the empty dashboards dir
23 lines
458 B
YAML
23 lines
458 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
prometheus:
|
|
image: prom/prometheus
|
|
restart: always
|
|
volumes:
|
|
- ../config/monitoring/prometheus:/etc/prometheus
|
|
- prometheus_data:/prometheus
|
|
ports:
|
|
- "9090"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-vz", "localhost", "9090"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 10
|
|
start_period: 3s
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
volumes:
|
|
prometheus_data:
|