feat: add app Beszel-Agent

This commit is contained in:
arch3rPro
2025-08-27 17:38:54 +00:00
parent 3f3eff929a
commit b45696c83d
15 changed files with 187 additions and 0 deletions

View File

@@ -802,6 +802,15 @@ AI驱动的开源代码知识库与文档协作平台支持多模型、多数
</td>
<td width="33%" align="center">
<a href="./apps/beszel-agent/README.md">
<img src="./apps/beszel-agent/logo.png" width="60" height="60" alt="Beszel-Agent">
<br><b>Beszel-Agent</b>
</a>
⚡ 轻量级服务器监控代理,支持实时性能数据收集
<kbd>0.12.4</kbd> • [官网链接](https://github.com/henrygd/beszel)
</td>
<td width="33%" align="center">

View File

@@ -0,0 +1,4 @@
CONTAINER_NAME="beszel-agent"
DOCKER_SOCK_PATH="/var/run/docker.sock"
KEY="ssh-xxx"
PANEL_APP_PORT_HTTP=40332

View File

@@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: "45876"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "/var/run/docker.sock"
edit: true
envKey: DOCKER_SOCK_PATH
labelEn: Docker Socket Path
labelZh: Docker 套接字路径
required: true
type: text
- default: "ssh-ed25519 xxxxxx"
edit: true
envKey: KEY
labelEn: Key
labelZh: 密钥
required: true
type: password

View File

@@ -0,0 +1,13 @@
services:
beszel-agent:
image: henrygd/beszel-agent:0.12.4
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
volumes:
- ${DOCKER_SOCK_PATH}:/var/run/docker.sock
environment:
- PORT=${PANEL_APP_PORT_HTTP}
- KEY=${KEY}
labels:
createdBy: "Apps"

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -0,0 +1,16 @@
# Beszel
**Beszel** 是一个轻量级服务器监控平台,包含 Docker 统计、历史数据和警报功能。
它具有友好的 Web 界面、简单的配置开箱即用。它支持自动备份、多用户、OAuth 身份验证和 API 访问。
## 主要功能:
- **轻量级**:比领先的解决方案更小、资源密集程度更低。
- **简单**:易于设置,无需公开互联网曝光。
- **Docker 统计**:跟踪每个容器的 CPU、内存和网络使用历史记录。
- **警报**:可配置 CPU、内存、磁盘、带宽、温度和状态的警报。
- **多用户**:用户管理自己的系统。管理员可以跨用户共享系统。
- **OAuth / OIDC**:支持众多 OAuth2 提供商。密码验证可禁用。
- **自动备份**:从磁盘或 S3 兼容存储保存和恢复数据。
- **REST API**:在您自己的脚本和应用程序中使用或更新您的数据。

View File

@@ -0,0 +1,32 @@
name: Beszel-Agent
tags:
- 实用工具
title: 轻量易用的服务器监控(客户端)
description: 轻量易用的服务器监控(客户端)
additionalProperties:
key: beszel-agent
name: Beszel-Agent
tags:
- Tool
shortDescZh: 轻量易用的服务器监控(客户端)
shortDescEn: Simple, lightweight server monitoring
description:
en: Simple, lightweight server monitoring
ja: シンプルで軽量なサーバー監視
ms: Pemantauan pelayan yang ringkas dan ringan
pt-br: Monitoramento de servidor simples e leve
ru: Простое и легкое мониторинг сервера
ko: 간단하고 가벼운 서버 모니터링
zh-Hant: 簡單輕量的伺服器監控
zh: 轻量易用的服务器监控
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://beszel.dev/
github: https://github.com/henrygd/beszel
document: https://beszel.dev/guide/what-is-beszel
architectures:
- amd64
- arm64
- arm/v7

View File

@@ -0,0 +1,4 @@
CONTAINER_NAME="beszel-agent"
DOCKER_SOCK_PATH="/var/run/docker.sock"
KEY="ssh-xxx"
PANEL_APP_PORT_HTTP=40332

View File

@@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: "45876"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "/var/run/docker.sock"
edit: true
envKey: DOCKER_SOCK_PATH
labelEn: Docker Socket Path
labelZh: Docker 套接字路径
required: true
type: text
- default: "ssh-ed25519 xxxxxx"
edit: true
envKey: KEY
labelEn: Key
labelZh: 密钥
required: true
type: password

View File

@@ -0,0 +1,13 @@
services:
beszel-agent:
image: henrygd/beszel-agent:latest
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
volumes:
- ${DOCKER_SOCK_PATH}:/var/run/docker.sock
environment:
- PORT=${PANEL_APP_PORT_HTTP}
- KEY=${KEY}
labels:
createdBy: "Apps"

BIN
apps/beszel-agent/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB