diff --git a/README.md b/README.md index 2f8785f..e090586 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,22 @@ Simple Prometheus setup for monitoring websites, with blackbox-exporter and Grafana. -Testing data source for target discovery is located in branch `pages` and is served on `https://mdivecky.nolog.page/mon-test/targets.json` \ No newline at end of file +Testing data source for target discovery is located in branch `pages` and is served on `https://mdivecky.nolog.page/mon-test/targets.json` + + +# Setup + +```bash +mkdir -p ./data/prometheus +mkdir -p ./data/grafana +chown -R 1000:1000 ./data/* +# Or switch to docker volumes for prometheus and Grafana, if you don't want to deal with permissions + +docker compose up -d + +# -> Goto http://localhost:3000 +# Login to Grafana with admin:admin +# Add Prometheus datasource, with URL "http://prometheus:9090" +# Import or create some dashboards +# Profit $$$ +``` \ No newline at end of file