Update README.md

added steps how to start and configure standalone grafana before we dive deeper
This commit is contained in:
philbob 2024-12-23 21:31:43 +00:00
parent 52f42ab915
commit 60df6dbc77
1 changed files with 27 additions and 5 deletions

View File

@ -5,3 +5,25 @@ self-hosting grafana for monitoring:
- Server data (e.g disk usage) - Server data (e.g disk usage)
- presence monitoring (subscribers to all platform, activity and shit) for the AF2C - presence monitoring (subscribers to all platform, activity and shit) for the AF2C
- for communes - for communes
dependencies (for debian): what I've installed:
- docker-clean/stable,now 2.0.4-5 all [installed]
- docker-compose/stable,now 1.29.2-3 all [installed]
- docker-doc/stable,now 20.10.24+dfsg1-1 all [installed]
- docker-registry/stable,now 2.8.2+ds1-1 amd64 [installed]
- docker.io/stable,now 20.10.24+dfsg1-1+b3 amd64 [installed]
- docker/stable,now 1.5-2 all [installed]
1. we need to set up alone grafana. we will use docker-compose for this
1.1 prepare working directory for grafana and configs for it
mkdir grafana-docker
1.2 prepare docker-compose.yaml
touch docker-compose.yml
1.3 edit docker-compose.yml (I will give docker-compose.yml)
DISCLAIMER: we will use bind mounts
1.4 everything is ready? then we start up container
sudo docker-compose up