搭建一个网站监控服务——Uptime Kuma
我是使用docker安装,比较方便。
#安装docker
wget -qO- get.docker.com | bash
#查看 Docker 安装版本等信息
docker version
#启动 Docker 服务
systemctl start docker
#查看 Docker 运行状态
systemctl status docker
#将 Docker 服务加入开机自启动
systemctl enable docker
然后再安装Uptime Kuma
docker volume create uptime-kuma
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
就可以使用IP+3001端口访问监控统计了。
还可以使用钉钉来通知预警,也可以不使用nginx反向代理。
使用cf的隧道反向代理,教程:https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy-with-Cloudflare-Tunnel
原文链接:https://blog.ixacg.com/173.html