code-examples/2024/12/grafana_demo1
2024-12-14 02:20:10 +01:00
..
app.yaml Small changes in auth for web prometheus. 2024-12-14 02:20:10 +01:00
prometheus.web.yml Small changes in auth for web prometheus. 2024-12-14 02:20:10 +01:00
prometheus.yml Small changes in auth for web prometheus. 2024-12-14 02:20:10 +01:00
README.md Added prometheus datasource preconfiguration. 2024-12-11 22:11:04 +01:00
setup.yaml Small changes in auth for web prometheus. 2024-12-14 02:20:10 +01:00

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