code-examples/2024/12/grafana_demo1/setup.yaml

19 lines
326 B
YAML
Raw Normal View History

version: '3.7'
services:
prometheus:
image: 'nginx'
volumes:
- 'prometheus-data:/prometheus'
grafana:
image: 'nginx'
volumes:
- 'grafana-storage:/var/lib/grafana'
- 'grafana-provisioning:/etc/grafana/provisioning'
volumes:
grafana-provisioning:
grafana-storage:
prometheus-data: