mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-10 11:11:39 +08:00
feat: add app Beszel-Agent
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME="beszel-agent"
|
||||
DOCKER_SOCK_PATH="/var/run/docker.sock"
|
||||
KEY="ssh-xxx"
|
||||
PANEL_APP_PORT_HTTP=40332
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user