If you need specific security settings, rename the .env.example
file to .env
and fill it out.
docker compose up -d
-
Run the following command to initialize InfluxDB:
docker compose -f docker-compose-full.yml up influxdb_cli
Press
Ctrl + C
after the database initialization (wait 10-15 seconds). -
Start the services:
docker compose -f docker-compose-full.yml up -d
-
Stop the services:
docker compose down
- Grafana: Accessible at
http://localhost:3000
- InfluxDB: Accessible at
http://localhost:8086
- Grafana: Configuration is managed via environment variables in the
docker-compose.yml
file. - InfluxDB: Data is stored in the
influxdb2
directory and configured via environment variables in thedocker-compose.yml
file. - Telegraf: Configuration is managed in the
telegraf/telegraf.conf
file.
- Network:
lab240-monitoring
- Volumes:
grafana-data
: Stores Grafana data./influxdb2
: Stores InfluxDB data