A8DOG

A8DOG

随便写写,记录折腾过程!
telegram

搭建一个网站监控服务——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

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.