Gain the ability to analyze and monitor telemetry data by deploying the TIG stack within minutes using Docker and Docker Compose.
Clone the project
git clone https://github.com/jefjrfigueiredo/tig-stack.gitNavigate to the project directory
cd tig-stackRun this command to create the .env file and generate a new admin token for InfluxDB:
[ ! -f .env ] && cp .env.example .env
var="DOCKER_INFLUXDB_INIT_ADMIN_TOKEN" \
&& new_token=$(openssl rand -hex 32) \
&& grep -q "^${var}=" .env \
&& sed -i "s/^${var}=.*/${var}=$new_token/" .env \
|| echo "${var}=$new_token" >> .env(Optional) Change the environment variables define in .env that are used to setup and deploy the stack
├── influxdb/
│ ├── entrypoint.sh
├── telegraf/
│ ├── telegraf.conf
├── .env <---
├── docker-compose.yml
└── ...(Optional) Customize the telegraf.conf file which will be mounted to the container as a persistent volume
├── influxdb/
│ ├── entrypoint.sh
├── telegraf/
│ ├── telegraf.conf <---
├── .env
├── docker-compose.yml
└── ...Start the services
docker compose up -dAccess the Grafana portal in http://localhost:3000 (or the GRAFANA_PORT you set in the .env file), authenticate with login: admin and password: admin , change the password, go to Dashboards > System metrics and see the metrics in real-time.
Telegraf / 1.34.4-alpine
InfluxDB / 2.7.12-alpine
Grafana-OSS / 12.2.0-17142428006
Contributions are always welcome!
