26 lines
413 B
Markdown
26 lines
413 B
Markdown
|
# Docker monitoring stack
|
||
|
|
||
|
## Includes
|
||
|
* prometheus
|
||
|
* grafana
|
||
|
* alertmanager
|
||
|
* node-exporter
|
||
|
* blackbox-exporter
|
||
|
* cadvisor
|
||
|
|
||
|
## Prerequisites
|
||
|
* docker
|
||
|
* docker compose
|
||
|
|
||
|
## Steps
|
||
|
|
||
|
1. Create .env file
|
||
|
> EXTERNAL_IP=XXX.XXX.XXX.XXX
|
||
|
>
|
||
|
> GRAFANA_PASSWORD=SECURE_PASSWORD
|
||
|
|
||
|
2. Copy alertmanager.tmpl to alertmanager.yml
|
||
|
* Set telegram bot_token and chat_id
|
||
|
|
||
|
3. Deploy the stack
|
||
|
> docker compose up -d
|