diff --git a/apps/cloudreve-mysql/4.5.0/data.yml b/apps/cloudreve-mysql/4.5.0/data.yml index a5edb883e..3b04275ce 100644 --- a/apps/cloudreve-mysql/4.5.0/data.yml +++ b/apps/cloudreve-mysql/4.5.0/data.yml @@ -1,15 +1,18 @@ additionalProperties: formFields: - - child: - default: "" - envKey: PANEL_DB_HOST - required: true - type: service - default: postgresql - edit: true + - default: mysql envKey: PANEL_DB_TYPE - labelZh: 数据库 服务 (前置检查) - labelEn: Database Service (Pre-check) + labelEn: Database Service + labelZh: 数据库服务 + label: + en: Database Service + ja: データベースサービス + ms: Perkhidmatan Pangkalan Data + pt-br: Serviço de Banco de Dados + ru: Сервис базы данных + ko: 데이터베이스 서비스 + zh: 数据库服务 + zh-Hant: 數據庫 服務 required: true type: apps child: @@ -18,147 +21,96 @@ additionalProperties: required: true type: service values: - - label: PostgreSQL - value: postgresql - label: MySQL value: mysql - label: MariaDB value: mariadb - - label: Percona - value: percona - - default: "/home/nocodb" - edit: true - envKey: NOCODB_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: NC_ADMIN_EMAIL - labelZh: 管理员邮箱 - labelEn: Administrator email - required: true - type: text - - default: "" - edit: true - envKey: NC_ADMIN_PASSWORD - labelZh: 管理员密码 - labelEn: Administrator password - required: true - rule: paramComplexity - type: password - - default: "" - edit: true - envKey: NC_AUTH_JWT_SECRET - labelZh: 数据加密密钥 - labelEn: Data encryption key - required: true - type: password - - default: pg - edit: true - envKey: DB_TYPE - labelZh: 数据库 类型 - labelEn: Database Type - required: true - type: select - values: - - label: PostgreSQL - value: pg - - label: MySQL (MariaDB, Percona) - value: mysql2 - - default: "127.0.0.1" - edit: true - envKey: DB_HOSTNAME - 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: "nocodb" - edit: true - envKey: DB_USER - labelZh: 数据库 用户名 - labelEn: Database User - required: true - type: text - - default: "" - edit: true - envKey: DB_PASSWD - labelEn: Database Password - labelZh: 数据库 密码 + - default: cloudreve + envKey: PANEL_DB_NAME + labelEn: Database + labelZh: 数据库名 + label: + en: Database + ja: データベース + ms: Pangkalan Data + pt-br: Banco de Dados + ru: База данных + ko: 데이터베이스 + zh: 数据库名 + zh-Hant: 數據庫名 random: true required: true - rule: paramComplexity - type: password - - default: "nocodb" - edit: true - envKey: DB_NAME - labelZh: 数据库 名称 - labelEn: Database Name + rule: paramCommon + type: text + - default: cloudreve + envKey: PANEL_DB_USER + labelEn: User + labelZh: 数据库用户 + label: + en: User + ja: ユーザー + ms: Pengguna + pt-br: Usuário + ru: Пользователь + ko: 사용자 + zh: 数据库用户 + zh-Hant: 數據庫用戶 + random: true required: true + rule: paramCommon type: text + - default: cloudreve + envKey: PANEL_DB_USER_PASSWORD + labelEn: Password + labelZh: 数据库用户密码 + label: + en: Password + ja: パスワード + ms: Kata Laluan + pt-br: Senha + ru: Пароль + ko: 비밀번호 + zh: 数据库用户密码 + zh-Hant: 數據庫用戶密碼 + random: true + required: true + type: password - default: "" - edit: true - envKey: NC_REDIS_URL - labelZh: Redis 缓存地址 - labelEn: Redis Cache Address - required: false - type: text + envKey: PANEL_REDIS_HOST + key: redis + labelEn: Redis Service + labelZh: redis 服务 + required: true + type: service + label: + en: Redis Service + ja: Redisサービス + ms: Perkhidmatan Redis + pt-br: Serviço Redis + ru: Сервис Redis + ko: Redis 서비스 + zh: redis 服务 + zh-Hant: redis 服务 - default: "" - edit: true - envKey: NC_PUBLIC_URL - labelZh: 域名 - labelEn: Domain Name + envKey: PANEL_REDIS_ROOT_PASSWORD + labelEn: Redis Service Password + labelZh: 缓存服务服务密码 required: false - type: text - - default: "" + type: password + - default: 40033 edit: true - envKey: NC_SMTP_HOST - labelZh: 邮件服务器地址 - labelEn: Mailer Server Address - required: false - type: text - - default: 465 - edit: true - envKey: NC_SMTP_PORT - labelZh: 邮件服务器端口 - labelEn: Mailer Server Port - required: false - type: number - - default: "" - edit: true - envKey: NC_SMTP_USERNAME - labelZh: 邮件服务用户名 - labelEn: Mailer Username - required: false - type: text - - default: "" - edit: true - envKey: NC_SMTP_PASSWORD - labelZh: 邮件服务密码 - labelEn: Mailer Password - required: false - type: text - - default: "" - edit: true - envKey: NC_SMTP_FROM - labelZh: 邮件服务发件人 - labelEn: Mailer From - required: false - type: text + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + label: + en: Port + ja: ポート + ms: Port + pt-br: Porta + ru: Порт + ko: 포트 + zh: 端口 + zh-Hant: 埠 + required: true + rule: paramPort + type: number \ No newline at end of file