appstore-1panel/apps/bitmagnet/0.9.5/data.yml
Meng Sen 606501d4c6 配置修复
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
2024-10-21 15:22:50 +08:00

98 lines
2.3 KiB
YAML

additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_POSTGRES_SERVICE
required: true
type: service
default: postgresql
envKey: PANEL_POSTGRES_TYPE
labelZh: Postgres 服务 (前置检查)
labelEn: Postgres Service (Pre-check)
required: true
type: apps
values:
- label: PostgreSQL
value: postgresql
- default: "/home/bitmagnet"
edit: true
envKey: BITMAGNET_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 3333
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: 3334
edit: true
envKey: PANEL_APP_PORT_BT
labelZh: BitTorrent 端口
labelEn: BitTorrent port
required: true
rule: paramPort
type: number
- default: "127.0.0.1"
edit: true
envKey: POSTGRES_HOST
labelZh: 数据库 主机地址
labelEn: Database Host
required: true
type: text
- default: 5432
edit: true
envKey: DB_PORT
labelZh: 数据库 端口
labelEn: Database Port
required: true
rule: paramPort
type: number
- default: "bitmagnet"
edit: true
envKey: POSTGRES_NAME
labelZh: 数据库 名称
labelEn: Database Name
required: true
rule: paramCommon
type: text
- default: "bitmagnet"
edit: true
envKey: POSTGRES_USER
labelZh: 数据库 用户名
labelEn: Database Username
required: true
type: text
- default: ""
edit: true
envKey: POSTGRES_PASSWORD
labelZh: 数据库 密码
labelEn: Database Password
random: true
required: true
rule: paramComplexity
type: password
- default: "true"
edit: true
envKey: TMDB_ENABLED
labelZh: 获取 TMDB 元数据
labelEn: Fetch TMDB metadata
required: true
type: select
values:
- label: 允许
value: "true"
- label: 禁止
value: "false"
- default: ""
edit: true
envKey: TMDB_API_KEY
labelZh: TMDB API 密钥
labelEn: TMDB API Key
required: false
type: text