stack-orchestrator/stack_orchestrator/data/compose/docker-compose-grafana.yml

22 lines
491 B
YAML
Raw Normal View History

version: "3.7"
services:
grafana:
image: grafana/grafana
restart: always
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: