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
+4
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
+24
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
@@ -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"