修复配置问题

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
新疆萌森软件开发工作室 2024-10-18 11:58:05 +08:00
parent 0205e9c3b2
commit 72d6f8948a
2 changed files with 86 additions and 86 deletions

View File

@ -1,13 +1,32 @@
additionalProperties: additionalProperties:
formFields: formFields:
- default: "/home/pingvin-share" - child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: mysql
edit: true edit: true
envKey: PINGVIN_SHARE_ROOT_PATH envKey: PANEL_DB_TYPE
labelZh: MySQL 服务 (前置检查)
labelEn: Database Service (Pre-check)
required: true
type: apps
values:
- label: MySQL
value: mysql
- label: MariaDB
value: mariadb
- label: Percona
value: percona
- default: "/home/kimai2"
edit: true
envKey: KIMAI2_ROOT_PATH
labelZh: 数据持久化路径 labelZh: 数据持久化路径
labelEn: Data persistence path labelEn: Data persistence path
required: true required: true
type: text type: text
- default: 3000 - default: 8001
edit: true edit: true
envKey: PANEL_APP_PORT_HTTP envKey: PANEL_APP_PORT_HTTP
labelZh: 访问端口 labelZh: 访问端口
@ -15,15 +34,56 @@ additionalProperties:
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: "false" - default: ""
edit: true edit: true
envKey: TRUST_PROXY envKey: ADMINMAIL
labelZh: 是否信任代理 labelZh: 管理员邮箱
labelEn: Trust proxy labelEn: Admin Email
required: true required: true
type: select type: text
values: - default: ""
- label: 信任代理 edit: true
value: "true" envKey: ADMINPASS
- label: 不信任代理 labelZh: 管理员密码
value: "false" labelEn: Admin Password
required: true
type: password
- 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: "kimai2"
edit: true
envKey: DB_NAME
labelZh: 数据库 名称
labelEn: Database Name
required: true
rule: paramCommon
type: text
- default: "kimai2"
edit: true
envKey: DB_USER
labelZh: 数据库 用户名
labelEn: Database Username
required: true
type: text
- default: ""
edit: true
envKey: DB_USER_PASSWORD
labelZh: 数据库 密码
labelEn: Database Password
random: true
required: true
rule: paramComplexity
type: password

View File

@ -1,32 +1,13 @@
additionalProperties: additionalProperties:
formFields: formFields:
- child: - default: "/home/pingvin-share"
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: mysql
edit: true edit: true
envKey: PANEL_DB_TYPE envKey: PINGVIN_SHARE_ROOT_PATH
labelZh: MySQL 服务 (前置检查)
labelEn: Database Service (Pre-check)
required: true
type: apps
values:
- label: MySQL
value: mysql
- label: MariaDB
value: mariadb
- label: Percona
value: percona
- default: "/home/kimai2"
edit: true
envKey: KIMAI2_ROOT_PATH
labelZh: 数据持久化路径 labelZh: 数据持久化路径
labelEn: Data persistence path labelEn: Data persistence path
required: true required: true
type: text type: text
- default: 8001 - default: 3000
edit: true edit: true
envKey: PANEL_APP_PORT_HTTP envKey: PANEL_APP_PORT_HTTP
labelZh: 访问端口 labelZh: 访问端口
@ -34,56 +15,15 @@ additionalProperties:
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: "" - default: "false"
edit: true edit: true
envKey: ADMINMAIL envKey: TRUST_PROXY
labelZh: 管理员邮箱 labelZh: 是否信任代理
labelEn: Admin Email labelEn: Trust proxy
required: true required: true
type: text type: select
- default: "" values:
edit: true - label: 信任代理
envKey: ADMINPASS value: "true"
labelZh: 管理员密码 - label: 不信任代理
labelEn: Admin Password value: "false"
required: true
type: password
- 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: "kimai2"
edit: true
envKey: DB_NAME
labelZh: 数据库 名称
labelEn: Database Name
required: true
rule: paramCommon
type: text
- default: "kimai2"
edit: true
envKey: DB_USER
labelZh: 数据库 用户名
labelEn: Database Username
required: true
type: text
- default: ""
edit: true
envKey: DB_USER_PASSWORD
labelZh: 数据库 密码
labelEn: Database Password
random: true
required: true
rule: paramComplexity
type: password