59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
|
|
additionalProperties:
|
||
|
|
formFields:
|
||
|
|
- default: 8000
|
||
|
|
envKey: PANEL_APP_PORT_HTTP
|
||
|
|
labelEn: Port
|
||
|
|
labelZh: 端口
|
||
|
|
required: true
|
||
|
|
rule: paramPort
|
||
|
|
type: number
|
||
|
|
- default: mysql
|
||
|
|
envKey: PANEL_DB_TYPE
|
||
|
|
labelEn: DBType
|
||
|
|
labelZh: 数据库类型
|
||
|
|
required: true
|
||
|
|
type: select
|
||
|
|
values:
|
||
|
|
- label: MySQL
|
||
|
|
value: mysql
|
||
|
|
- label: MariaDB
|
||
|
|
value: mariadb
|
||
|
|
- default: mysql
|
||
|
|
envKey: PANEL_DB_HOST
|
||
|
|
labelEn: DBHost
|
||
|
|
labelZh: 数据库地址
|
||
|
|
required: true
|
||
|
|
rule: paramCommon
|
||
|
|
type: text
|
||
|
|
- default: 3306
|
||
|
|
envKey: PANEL_DB_PORT
|
||
|
|
labelEn: DBPort
|
||
|
|
labelZh: 数据库端口
|
||
|
|
required: true
|
||
|
|
rule: paramPort
|
||
|
|
type: number
|
||
|
|
- default: casdoor
|
||
|
|
envKey: PANEL_DB_NAME
|
||
|
|
labelEn: DBName
|
||
|
|
labelZh: 数据库名
|
||
|
|
random: true
|
||
|
|
required: true
|
||
|
|
rule: paramCommon
|
||
|
|
type: text
|
||
|
|
- default: root
|
||
|
|
envKey: PANEL_DB_USER
|
||
|
|
labelEn: DBUser
|
||
|
|
labelZh: 数据库用户
|
||
|
|
random: true
|
||
|
|
required: true
|
||
|
|
rule: paramCommon
|
||
|
|
type: text
|
||
|
|
- default: 123456
|
||
|
|
envKey: PANEL_DB_USER_PASSWORD
|
||
|
|
labelEn: DBPassword
|
||
|
|
labelZh: 数据库用户密码
|
||
|
|
random: true
|
||
|
|
required: true
|
||
|
|
rule: paramComplexity
|
||
|
|
type: password
|