2023-05-18 18:25:00 +08:00
|
|
|
additionalProperties:
|
|
|
|
formFields:
|
|
|
|
- child:
|
|
|
|
default: ""
|
|
|
|
envKey: PANEL_DB_HOST
|
|
|
|
required: true
|
|
|
|
type: service
|
|
|
|
default: mysql
|
2023-09-05 15:25:30 +08:00
|
|
|
envKey: PANEL_DB_TYPE
|
2023-05-18 18:25:00 +08:00
|
|
|
labelEn: Database Service
|
|
|
|
labelZh: 数据库服务
|
|
|
|
required: true
|
|
|
|
type: apps
|
|
|
|
values:
|
|
|
|
- label: MySQL
|
|
|
|
value: mysql
|
2023-09-05 15:25:30 +08:00
|
|
|
- label: MariaDB
|
|
|
|
value: mariadb
|
2023-05-18 18:25:00 +08:00
|
|
|
- default: halo
|
|
|
|
envKey: PANEL_DB_NAME
|
|
|
|
labelEn: Database
|
|
|
|
labelZh: 数据库名
|
|
|
|
random: true
|
|
|
|
required: true
|
|
|
|
rule: paramCommon
|
|
|
|
type: text
|
|
|
|
- default: halo
|
|
|
|
envKey: PANEL_DB_USER
|
|
|
|
labelEn: User
|
|
|
|
labelZh: 数据库用户
|
|
|
|
random: true
|
|
|
|
required: true
|
|
|
|
rule: paramCommon
|
|
|
|
type: text
|
|
|
|
- default: halo
|
|
|
|
envKey: PANEL_DB_USER_PASSWORD
|
|
|
|
labelEn: Password
|
|
|
|
labelZh: 数据库用户密码
|
|
|
|
random: true
|
|
|
|
required: true
|
|
|
|
rule: paramComplexity
|
|
|
|
type: password
|
|
|
|
- default: admin
|
|
|
|
envKey: HALO_ADMIN
|
|
|
|
labelEn: Admin Username
|
|
|
|
labelZh: 超级管理员用户名
|
|
|
|
required: true
|
2023-05-30 15:01:32 +08:00
|
|
|
rule: paramSimple
|
2023-05-18 18:25:00 +08:00
|
|
|
type: text
|
|
|
|
- default: halo
|
|
|
|
envKey: HALO_ADMIN_PASSWORD
|
|
|
|
labelEn: Admin Password
|
|
|
|
labelZh: 超级管理员密码
|
|
|
|
random: true
|
|
|
|
required: true
|
|
|
|
rule: paramComplexity
|
|
|
|
type: password
|
|
|
|
- default: http://localhost:8080
|
|
|
|
edit: true
|
|
|
|
envKey: HALO_EXTERNAL_URL
|
|
|
|
labelEn: External URL
|
|
|
|
labelZh: 外部访问地址
|
|
|
|
required: true
|
|
|
|
rule: paramExtUrl
|
|
|
|
type: text
|
|
|
|
- default: 8080
|
|
|
|
edit: true
|
|
|
|
envKey: PANEL_APP_PORT_HTTP
|
|
|
|
labelEn: Port
|
|
|
|
labelZh: 端口
|
|
|
|
required: true
|
|
|
|
rule: paramPort
|
|
|
|
type: number
|