29 lines
454 B
Markdown
29 lines
454 B
Markdown
# Docker monitoring stack
|
|
|
|
## Includes
|
|
* prometheus
|
|
* grafana
|
|
* alertmanager
|
|
* node-exporter
|
|
* blackbox-exporter
|
|
* cadvisor
|
|
|
|
## Prerequisites
|
|
* docker
|
|
* docker compose
|
|
* traefik with network
|
|
|
|
## Steps
|
|
|
|
1. Create .env file
|
|
```bash
|
|
GRAFANA_PASSWORD=SECURE_PASSWORD
|
|
HOST_SUFFIX=xxx.local
|
|
TZ=Europe/Paris
|
|
```
|
|
|
|
2. Copy alertmanager.tmpl to alertmanager.yml
|
|
* Set telegram bot_token and chat_id
|
|
|
|
3. Deploy the stack
|
|
> docker compose up -d |