uptime-kuma README

The project's README from github.com/louislam/uptime-kuma. As one markdown file: README.md.

Uptime Kuma Logo

Uptime Kuma

Uptime Kuma is an easy-to-use self-hosted monitoring tool.

GitHub Sponsors Translation status

Uptime Kuma Dashboard Screenshot

🥔 Live Demo

Try it!

Demo Server (Location: Frankfurt - Germany): https://demo.kuma.pet/start-demo

It is a temporary live demo, all data will be deleted after 10 minutes. Sponsored by Uptime Kuma Sponsors.

⭐ Features

🔧 How to Install

🐳 Docker Compose

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 is now running on all network interfaces (e.g. http://localhost:3001 or http://your-ip:3001).

[!WARNING] File Systems like NFS (Network File System) are NOT supported. Please map to a local directory or volume.

🐳 Docker Command

docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:2

Uptime Kuma is now running on all network interfaces (e.g. http://localhost:3001 or http://your-ip:3001).

If you want to limit exposure to localhost only:

docker run ... -p 127.0.0.1:3001:3001 ...

💪🏻 Non-Docker

Requirements:

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 is now running on all network interfaces (e.g. http://localhost:3001 or http://your-ip:3001).

More useful PM2 Commands

# If you want to see the current console output
pm2 monit

# If you want to add it to startup
pm2 startup && pm2 save

Advanced Installation

If you need more options or need to browse via a reverse proxy, please read:

https://github.com/louislam/uptime-kuma/wiki/%F0%9F%94%A7-How-to-Install

🆙 How to Update

Please read:

https://github.com/louislam/uptime-kuma/wiki/%F0%9F%86%99-How-to-Update

🆕 What's Next?

I will assign requests/issues to the next milestone.

https://github.com/louislam/uptime-kuma/milestones

❤️ Sponsors

Thank you so much! (GitHub Sponsors will be updated manually. OpenCollective sponsors will be updated automatically, the list will be cached by GitHub though. It may need some time to be updated)

Uptime Kuma Sponsors

🖼 More Screenshots

Light Mode:

Uptime Kuma Light Mode Screenshot of how the Dashboard looks

Status Page:

Uptime Kuma Status Page Screenshot

Settings Page:

Uptime Kuma Settings Page Screenshot

Telegram Notification Sample:

Uptime Kuma Telegram Notification Sample Screenshot

Motivation

If you love this project, please consider giving it a ⭐.

🗣️ Discussion / Ask for Help

⚠️ For any general or technical questions, please don't send me an email, as I am unable to provide support in that manner. I will not respond if you ask questions there.

I recommend using Google, GitHub Issues, or Uptime Kuma's subreddit for finding answers to your question. If you cannot find the information you need, feel free to ask:

My Reddit account: u/louislamlam You can mention me if you ask a question on the subreddit.

Contributions

Create Pull Requests

Pull requests are awesome. To keep reviews fast and effective, please make sure you’ve read our pull request guidelines.

Test Pull Requests

There are a lot of pull requests right now, but I don't have time to test them all.

If you want to help, you can check this: https://github.com/louislam/uptime-kuma/wiki/Test-Pull-Requests

Test Beta Version

Check out the latest beta release here: https://github.com/louislam/uptime-kuma/releases

Bug Reports / Feature Requests

If you want to report a bug or request a new feature, feel free to open a new issue.

Translations

If you want to translate Uptime Kuma into your language, please visit Weblate Readme.

Spelling & Grammar

Feel free to correct the grammar in the documentation or code. My mother language is not English and my grammar is not that great.

uptime-kuma (louislam/uptime-kuma)

Searching Database…

这是什么?Uptime Kuma 是一款自托管的运行时间与服务器监控工具,带有精美的网页界面、状态页,并会在服务宕机时发送通知。
这是我自己部署的网页应用,还是托管服务?它是一个自托管的单页网页应用,带有实时仪表盘,基于 Vue 3 和 WebSocket 构建而非 REST API,需要运行在你自己的服务器上。
怎么把它跑起来?最简单的方法是使用官方 Docker 镜像;也可以在受支持的平台上不使用 Docker 安装,搭配 Node.js、Git 和 pm2 让它在后台持续运行。
我得先装 Node.js 还是 Docker?不使用 Docker 安装时,需要 Node.js >= 20.4、Git 和 pm2;不过 engines 字段实际要求 Node >= 26.2.0。Docker 更省事,能避开这些要求。
安装时有哪些需要注意的坑吗?其数据目录不支持 NFS 等网络文件系统,你必须改为映射到本地目录或卷。FreeBSD/OpenBSD/NetBSD 以及 Replit/Heroku 等平台同样不受支持。
除了 Linux,它也支持 Windows 吗?支持。除主流 Linux 发行版外,官方还支持 Windows 10(x64)以及 Windows Server 2012 R2(x64)或更高版本。
我的监控数据会离开我的服务器吗?不会。它是完全自托管的,所有内容都运行在你可控的基础设施上;文档中没有提及任何外部数据收集。
作者为什么要自己开发 Uptime Kuma,而不用现有工具?作者想找一个 Uptime Robot 的自托管替代品,却发现 statping 不稳定且无人维护,于是决定一边学习 Vue 3、Vite、Bootstrap 5,以及基于 WebSocket 而非 REST API 的单页应用架构,一边打造一个精美的界面。
装之前能先试用吗?可以。有一个位于德国法兰克福的在线演示服务器,无需安装任何东西即可试用。
它支持状态页和通知吗?支持。它包含公开状态页功能,以及 Telegram 等通知集成,截图中有所展示。
我能把它放在反向代理后面运行吗?可以。README 中指向一份高级安装指南,介绍如何将其配置在反向代理后面以及其他选项。
Creator
louislam
Size
38.2 MB
Stars
92.6K
Age
5y
Commits · 90 Days