1
0

chore(deps): update lejianwen/rustdesk-api docker tag to v2.6.29 (#1656)

This commit is contained in:
renovate[bot]
2025-09-13 15:10:50 +08:00
committed by GitHub
parent 7e1b46944c
commit d394c39628
4 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
#!/command/with-contenv sh
cd /data || exit
PARAMS=
[ "${ENCRYPTED_ONLY}" = "1" ] && PARAMS="-k ${KEY}"
/usr/bin/hbbr $PARAMS

View File

@@ -0,0 +1,6 @@
#!/command/with-contenv sh
sleep 2
cd /data
PARAMS=
[ "${ENCRYPTED_ONLY}" = "1" ] && PARAMS="-k ${KEY}"
/usr/bin/hbbs -r $RELAY $PARAMS

View File

@@ -0,0 +1,154 @@
additionalProperties:
formFields:
- default: "./data"
edit: true
envKey: RUSTDESK_API_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 21114
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: "http://127.0.0.1"
edit: true
envKey: RUSTDESK_SERVER_URL
labelZh: RustDesk 服务地址
labelEn: RustDesk server address
required: true
type: text
- default: "RustDesk API Admin"
edit: true
envKey: RUSTDESK_API_ADMIN_TITLE
labelZh: 后台页面标题
labelEn: Admin page title
required: true
type: text
- default: ""
edit: true
envKey: RUSTDESK_API_RUSTDESK_KEY
labelZh: RustDesk API 密钥
labelEn: RustDesk API key
required: true
type: password
- default: "168h"
edit: true
envKey: RUSTDESK_API_APP_TOKEN_EXPIRE
labelZh: 登录有效期
labelEn: Login validity period
required: true
type: text
- default: "1"
edit: true
envKey: RUSTDESK_API_APP_WEB_CLIENT
labelZh: 启用 Web Client
labelEn: Enable Web Client
required: true
type: select
values:
- label: 启用
value: "1"
- label: 禁用
value: "0"
- default: "1"
edit: true
envKey: RUSTDESK_API_APP_SHOW_SWAGGER
labelZh: 开启 Swagger 文档
labelEn: Enable Swagger docs
required: true
type: select
values:
- label: 启用
value: "1"
- label: 禁用
value: "0"
- default: "false"
edit: true
envKey: RUSTDESK_API_APP_REGISTER
labelZh: 启用注册
labelEn: Enable register
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: "false"
edit: true
envKey: RUSTDESK_API_APP_DISABLE_PWD_LOGIN
labelZh: 登录策略
labelEn: Login strategy
required: true
type: select
values:
- label: 禁用密码登录
value: "true"
- label: 允许密码登录
value: "false"
- default: "false"
edit: true
envKey: RUSTDESK_API_PROXY_ENABLE
labelZh: 启用代理
labelEn: Enable proxy
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: ""
edit: true
envKey: RUSTDESK_API_PROXY_HOST
labelZh: 代理地址
labelEn: Proxy address
required: false
type: text
- default: "sqlite"
edit: true
envKey: RUSTDESK_API_GORM_TYPE
labelZh: 数据库类型
labelEn: Database type
required: true
type: select
values:
- label: sqlite
value: "sqlite"
- label: MySQL
value: "false"
- default: "127.0.0.1:3306"
edit: true
envKey: RUSTDESK_API_MYSQL_ADDR
labelZh: 数据库地址
labelEn: Database Host
required: false
type: text
- default: "rustdesk"
edit: true
envKey: RUSTDESK_API_MYSQL_DBNAME
labelZh: 数据库 名称
labelEn: Database Name
required: false
rule: paramCommon
type: text
- default: "rustdesk"
edit: true
envKey: RUSTDESK_API_MYSQL_USERNAME
labelZh: 数据库 用户名
labelEn: Database Username
required: false
type: text
- default: ""
edit: true
envKey: RUSTDESK_API_MYSQL_PASSWORD
labelZh: 数据库 密码
labelEn: Database Password
required: false
rule: paramComplexity
type: password

View File

@@ -0,0 +1,49 @@
networks:
1panel-network:
external: true
services:
rustdesk-api:
image: lejianwen/rustdesk-api:v2.6.29
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:21114
volumes:
- ${RUSTDESK_API_ROOT_PATH}/data:/data
environment:
- TZ=Asia/Shanghai
- RUSTDESK_API_LANG=zh-CN
- RUSTDESK_API_RUSTDESK_ID_SERVER=${RUSTDESK_SERVER_URL}:21116
- RUSTDESK_API_RUSTDESK_RELAY_SERVER=${RUSTDESK_SERVER_URL}:21117
- RUSTDESK_API_RUSTDESK_API_SERVER=${RUSTDESK_SERVER_URL}:${PANEL_APP_PORT_HTTP:-21114}
- RUSTDESK_API_RUSTDESK_KEY=${KEY}
rustdesk-server-s6:
image: rustdesk/rustdesk-server-s6:latest
container_name: server-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21117:21117
- 21118:21118
- 21119:21119
volumes:
- ${RUSTDESK_API_ROOT_PATH}/data:/data
- ./conf/hbbr/run:/etc/s6-overlay/s6-rc.d/hbbr/run
- ./conf/hbbs/run:/etc/s6-overlay/s6-rc.d/hbbs/run
environment:
- TZ=Asia/Shanghai
- RUSTDESK_API_LANG=zh-CN
- RELAY=${RUSTDESK_SERVER_URL}:21117
- ENCRYPTED_ONLY=1
- RUSTDESK_API_RUSTDESK_KEY=${KEY}