avatar

VM Mind Insights

The Intelligence Hub for Virtualization, Cloud, and Infrastructure Mastery.

  • Home
  • VPS
  • CDN
  • Archive
Home Tutorial on installing Uptime Kuma on Baota Panel
文章

Tutorial on installing Uptime Kuma on Baota Panel

Posted recently Updated recently
By Administrator
21~27 min read

1. Foreword

Uptime Kuma is an open-source, self-hosted, and lightweight monitoring tool. Featuring a clean, modern interface and a wide array of notification methods, it allows us to monitor the real-time status of multiple websites and services effortlessly.

Snipaste_2026-01-08_11-50-21.png

Below is a detailed step-by-step guide for installing Uptime Kuma on the BT (Baota) Panel, including important precautions and optimization suggestions:

1. Pre-installation Preparation

Environment Requirements:

  • BT Panel: Ensure you have the BT Panel installed (the latest version is recommended).

  • Domain Name: A domain such as status.yourdomain.com pointed to your server's IP address.

Port Configuration:

  • Ensure that both the BT Panel Firewall and your Cloud Provider's Security Group have opened the following ports:

    • 80 (HTTP)

    • 443 (HTTPS)

    • 3001 (Uptime Kuma's default port)

2. Install Docker Manager

  1. Navigate to the App Store within your BT Panel.

  2. Search for "Docker Manager".

  3. Click Install to set it up with one click.

Snipaste_2026-01-08_11-50-35.png

3. Deploying the Uptime Kuma Container Create Data Directory:

mkdir -p /root/uptime-kuma/data  # 持久化存储监控数据
chmod 777 -R /root/uptime-kuma  # 确保容器有写入权限(生产环境建议细化权限)

Start the container:

docker run -d \

  --name uptime-kuma \

  -p 3001:3001 \

  -v /root/uptime-kuma/data:/app/data \

  --restart unless-stopped \

  louislam/uptime-kuma:1

Parameter Descriptions:

  • -p 3001:3001: Maps port 3001 of the container to port 3001 of the host machine.

  • -v: Mounts the data directory (Volumes) to ensure data persistence and prevent data loss.

  • --restart: Configures the container to automatically restart if it stops unexpectedly.

Snipaste_2026-01-08_11-50-49.png

4. Configure Reverse Proxy

4.1 Add Access Domain

Snipaste_2026-01-08_11-51-04.png

4.2 Configure HTTPS (Optional) Simply apply for a Let's Encrypt certificate directly.

5. Access and Initialization 5.1 Access via Domain: Open https://status.yourdomain.com in your browser and follow the prompts to set up your Admin account and password.

5.2 Add Monitoring Items: Enter the dashboard, click Add New Monitor, and fill in the Service URL and Monitor Type (e.g., HTTP, TCP, etc.).

Snipaste_2026-01-08_11-51-18.png

6. Advanced Configuration (Optional) Enable HTTPS: Go to aaPanel (BT Panel) → Site Settings → SSL. Apply for a Let's Encrypt certificate and enable Force HTTPS.

Snipaste_2026-01-08_11-51-30.png

Firewall Optimization: In your cloud security group, disable public access to port 3001 and restrict access to Localhost (127.0.0.1) only.

Backup and Updates:

  • Backup: Regularly archive and compress the /root/uptime-kuma/data directory.

  • Update Container:

docker stop uptime-kuma && docker rm uptime-kuma  # 删除旧容器

docker pull louislam/uptime-kuma:1              # 拉取最新镜像

# 重新执行第4步的docker run命令启动新容器

It is recommended to use docker-compose (docker-compose needs to be installed):

Create docker-compose.yml:

version: '3'

services:

  uptime-kuma:

    image: louislam/uptime-kuma:1

    container_name: uptime-kuma

    volumes:

      - /root/uptime-kuma/data:/app/data

    ports:

      - "3001:3001"

    restart: unless-stopped

Start: docker-compose up -d

Update: docker-compose pull && docker-compose up -d

Troubleshooting

  • Container fails to start: Run docker logs uptime-kuma to check the logs and troubleshoot port conflicts or permission issues.

  • WebSocket connection failure: Ensure that WebSocket support parameters have been added to your reverse proxy configuration.

  • Data not saving: Check the permissions of the data directory to ensure the container has write access (use chmod 777 as a temporary fix).

Conclusion

By following these steps, you can successfully deploy Uptime Kuma using aaPanel (BT Panel) to achieve comprehensive service monitoring. Regularly backing up your data and updating the container will ensure long-term stability and reliability.

VPS
VPS
License: 
Share

Further Reading

Jan 15, 2026

Tutorial on installing Uptime Kuma on Baota Panel

1. Foreword Uptime Kuma is an open-source, self-hosted, and lightweight monitoring tool. Featuring a clean, modern interface and a wide array of notif

Dec 23, 2025

VPS Network Route Guide: What Are Premium Routes and Which Ones Are Available?

1. Overview of the Three Major Networks 1.1 China Telecom ChinaNet (AS4134, also called 163 Backbone): IPs starting with 202.97. This is the standard

Dec 23, 2025

How to Host and Manage Multiple Websites on a VPS

Introduction For many small businesses and developers, a VPS (Virtual Private Server) is a highly practical hosting solution. Compared to shared hosti

OLDER

How Does CDN Caching Really Work? A Practical Guide You Can Actually Understand

NEWER

Recently Updated

  • Tutorial on installing Uptime Kuma on Baota Panel
  • How Does CDN Caching Really Work? A Practical Guide You Can Actually Understand
  • Why Does CDN Cache Fail? A Practical Troubleshooting Guide from Cache-Control to CDN Policies
  • VPS Network Route Guide: What Are Premium Routes and Which Ones Are Available?
  • How to Host and Manage Multiple Websites on a VPS

Trending Tags

Virtualization Networking CloudComputing K8s Containers VPS CDN

Contents

©2026 VM Mind Insights. Some rights reserved.

Using the Halo theme Chirpy