2023-05-18 18:25:00 +08:00
|
|
|
additionalProperties:
|
|
|
|
formFields:
|
|
|
|
- child:
|
|
|
|
default: ""
|
|
|
|
envKey: PANEL_DB_HOST
|
|
|
|
labelEn: Database Service
|
|
|
|
labelZh: 数据库服务
|
|
|
|
required: true
|
|
|
|
type: service
|
|
|
|
default: mysql
|
|
|
|
envKey: HALO_PLATFORM
|
|
|
|
labelEn: Database Service
|
|
|
|
labelZh: 数据库服务
|
|
|
|
params:
|
|
|
|
- envKey: HALO_DB_PORT
|
|
|
|
key: mysql
|
|
|
|
type: param
|
|
|
|
value: "3306"
|
|
|
|
- envKey: HALO_DB_PORT
|
|
|
|
key: postgresql
|
|
|
|
type: param
|
|
|
|
value: "5432"
|
|
|
|
required: true
|
|
|
|
type: apps
|
|
|
|
values:
|
|
|
|
- label: MySQL
|
|
|
|
value: mysql
|
|
|
|
- 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
|