Uptime Kuma 是一款易于使用的自托管监控工具。
试试吧!
演示服务器(地点:德国法兰克福):https://demo.kuma.pet/start-demo
这是一个临时的在线演示,所有数据将在10分钟后删除。由Uptime Kuma Sponsors赞助。
mkdir uptime-kuma
cd uptime-kuma
curl -o compose.yaml https://raw.githubusercontent.com/louislam/uptime-kuma/master/compose.yaml
docker compose up -d
Uptime Kuma 现在在所有网络接口上运行(例如http://localhost:3001或http://your-ip:3001)。
警告
不支持NFS(网络文件系统)等文件系统。请映射到本地目录或卷。
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:2
Uptime Kuma 现在在所有网络接口上运行(例如http://localhost:3001或http://your-ip:3001)。
如果您只想将访问权限限制在本地主机:
docker run ... -p 127.0.0.1:3001:3001 ...
要求:
git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
npm run setup
# Option 1. Try it
node server/server.js
# (Recommended) Option 2. Run in the background using PM2
# Install PM2 if you don't have it:
npm install pm2 -g && pm2 install pm2-logrotate
# Start Server
pm2 start server/server.js --name uptime-kuma
Uptime Kuma 现在在所有网络接口上运行(例如http://localhost:3001或http://your-ip:3001)。
更多有用的 PM2 命令
# If you want to see the current console output
pm2 monit
# If you want to add it to startup
pm2 startup && pm2 save
如果您需要更多选项或需要通过反向代理浏览,请阅读:
https://github.com/louislam/uptime-kuma/wiki/%F0%9F%94%A7-How-to-Install
请阅读:
https://github.com/louislam/uptime-kuma/wiki/%F0%9F%86%99-How-to-Update
我会将请求/问题分配到下一个里程碑。
全部评论