【docker】美觀的網(wǎng)站監(jiān)控——uptime-kuma

1.前言
這篇文章夜夢將介紹一個網(wǎng)站監(jiān)控程序uptime-kuma,簡單易用,而且功能強大!
項目地址:https://github.com/louislam/uptime-kuma
特點:
Monitoring uptime for HTTP(s) / TCP / HTTP(s) Keyword / Ping / DNS Record / Push / Steam Game Server / Docker Containers
Fancy, Reactive, Fast UI/UX
Notifications via Telegram, Discord, Gotify, Slack, Pushover, Email (SMTP), and?90+ notification services, click here for the full list
20 second intervals
Multi Languages
Multiple status pages
Map status pages to specific domains
Ping chart
Certificate info
Proxy support
2FA support
2.準備
夜夢這里使用雨云服務(wù)器https://www.rainyun.com/YeMeng_,使用此鏈接注冊享受五元優(yōu)惠券和九折優(yōu)惠。
系統(tǒng)為Ubuntu20.04,使用docker安裝uptime-kuma。
所以需要先安裝好docker。
3.安裝docker
具體安裝參考:https://tech.yemengstar.com/?p=536
或者可以試試(版本原因可能會報錯)
4.開始部署
安裝完畢docker以后,我們使用官方的一行代碼進行部署:
部署完畢以后,即可通過IP:3001
進行訪問。
5.反向代理
如果你用一個域名,可以參照夜夢的這兩篇文章進行反向代理:
https://tech.yemengstar.com/?p=443
https://tech.yemengstar.com/?p=677
6.使用
設(shè)置完畢用戶名和密碼之后,即可進入后臺設(shè)置需要監(jiān)控的網(wǎng)站。



