2024-11-28 11:30:40 +08:00
|
|
|
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
|
2024-11-28 11:38:40 +08:00
|
|
|
- default: "/home/metatube"
|
2024-11-28 11:30:40 +08:00
|
|
|
edit: true
|
|
|
|
envKey: METATUBE_ROOT_PATH
|
|
|
|
labelZh: 数据持久化路径
|
|
|
|
labelEn: Data persistence path
|
|
|
|
required: true
|
|
|
|
type: text
|
|
|
|
- default: 8080
|
|
|
|
edit: true
|
|
|
|
envKey: PANEL_APP_PORT_HTTP
|
|
|
|
labelZh: WebUI 端口
|
|
|
|
labelEn: WebUI port
|
|
|
|
required: true
|
|
|
|
rule: paramPort
|
|
|
|
type: number
|
|
|
|
- default: ""
|
|
|
|
edit: true
|
|
|
|
envKey: TOKEN
|
|
|
|
labelZh: 访问令牌
|
|
|
|
labelEn: Access Token
|
|
|
|
required: true
|
|
|
|
type: text
|
|
|
|
- default: "127.0.0.1"
|
|
|
|
edit: true
|
|
|
|
envKey: POSTGRES_HOST
|
|
|
|
labelZh: 数据库 主机地址
|
|
|
|
labelEn: Database Host
|
|
|
|
required: true
|
|
|
|
type: text
|
|
|
|
- default: 5432
|
|
|
|
edit: true
|
|
|
|
envKey: POSTGRES_PORT
|
|
|
|
labelZh: 数据库 端口
|
|
|
|
labelEn: Database Port
|
|
|
|
required: true
|
|
|
|
rule: paramPort
|
|
|
|
type: number
|
|
|
|
- default: "metatube"
|
|
|
|
edit: true
|
|
|
|
envKey: POSTGRES_NAME
|
|
|
|
labelZh: 数据库 名称
|
|
|
|
labelEn: Database Name
|
|
|
|
required: true
|
|
|
|
rule: paramCommon
|
|
|
|
type: text
|
|
|
|
- default: "metatube"
|
|
|
|
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: "1m"
|
|
|
|
edit: true
|
|
|
|
envKey: REQUEST_TIMEOUT
|
|
|
|
labelZh: 请求超时时间
|
|
|
|
labelEn: Request Timeout
|
|
|
|
required: true
|
|
|
|
type: text
|
|
|
|
- default: ""
|
|
|
|
edit: true
|
|
|
|
envKey: HTTP_PROXY
|
|
|
|
labelZh: 网络代理 (HTTP/Socket5)
|
|
|
|
labelEn: Network Proxy (HTTP/Socket5)
|
|
|
|
required: false
|
|
|
|
type: text
|