forked from cerc-io/stack-orchestrator
282e175566
* Remove invalid dashboard and panel ids from alert rules * Pin grafana and prometheus versions * Configure custom grafana server URL
24 lines
563 B
YAML
24 lines
563 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
grafana:
|
|
image: grafana/grafana:10.2.2
|
|
restart: always
|
|
environment:
|
|
GF_SERVER_ROOT_URL: ${GF_SERVER_ROOT_URL}
|
|
volumes:
|
|
- ../config/monitoring/grafana/provisioning:/etc/grafana/provisioning
|
|
- ../config/monitoring/grafana/dashboards:/etc/grafana/dashboards
|
|
- grafana_storage:/var/lib/grafana
|
|
ports:
|
|
- "3000"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-vz", "localhost", "3000"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 10
|
|
start_period: 3s
|
|
|
|
volumes:
|
|
grafana_storage:
|