修复配置

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
新疆萌森软件开发工作室 2024-10-31 15:49:34 +08:00
parent e03fe27a51
commit 2f325bbaa2

View File

@ -22,85 +22,3 @@ additionalProperties:
labelEn: Domain Name
required: true
type: text
- default: "50M"
edit: true
envKey: SYNAPSE_MAX_UPLOAD_SIZE
labelZh: 最大上传文件大小
labelEn: Maximum upload file size
required: true
type: text
- default: "true"
edit: true
envKey: SYNAPSE_ENABLE_REGISTRATION
labelZh: 注册功能
labelEn: Enable registration
required: true
type: select
values:
- label: "允许注册"
value: "true"
- label: "禁止注册"
value: "false"
- default: "false"
edit: true
envKey: SYNAPSE_ALLOW_GUEST
labelZh: 访客功能
labelEn: Enable registration
required: true
type: select
values:
- label: "允许访客登录"
value: "true"
- label: "禁止访客登录"
value: "false"
- default: ""
edit: true
envKey: POSTGRES_HOST
labelZh: 数据库 主机地址
labelEn: Database Host
required: false
type: text
- default: 5432
edit: true
envKey: POSTGRES_PORT
labelZh: 数据库 端口
labelEn: Database Port
required: true
rule: paramPort
type: number
- default: "synapse"
edit: true
envKey: POSTGRES_DB
labelZh: 数据库 名称
labelEn: Database Name
required: true
rule: paramCommon
type: text
- default: "synapse"
edit: true
envKey: POSTGRES_USER
labelZh: 数据库 用户名
labelEn: Database Username
required: true
type: text
- default: ""
edit: true
envKey: POSTGRES_PASSWORD
labelZh: 数据库 密码
labelEn: Database Password
required: false
type: password
- default: ""
edit: true
envKey: SYNAPSE_RECAPTCHA_PUBLIC_KEY
labelZh: reCAPTCHA 公钥
labelEn: reCAPTCHA Public Key
required: false
type: text
- default: ""
edit: true
envKey: SYNAPSE_RECAPTCHA_PRIVATE_KEY
labelZh: reCAPTCHA 私钥
labelEn: reCAPTCHA Private Key
required: false
type: text