code-examples/2024/12/grafana_demo1/README.md

14 lines
375 B
Markdown
Raw Normal View History

# Setup
```
docker compose -f ./setup.yaml up -d
docker container exec grafana_demo1-grafana-1 "/bin/bash" "-c" "mkdir -p /etc/grafana/provisioning/datasources"
docker container cp datasources.yaml grafana_demo1-grafana-1:/etc/grafana/provisioning/datasources/prometheus.yaml
docker compose -f ./setup.yaml down
```
# Actual running
```
docker compose -f ./app.yaml -d
```