2023-05-18 18:25:00 +08:00
|
|
|
additionalProperties:
|
|
|
|
formFields:
|
2024-01-03 11:04:01 +08:00
|
|
|
- default: mysql
|
|
|
|
envKey: PANEL_DB_TYPE
|
2023-05-18 18:25:00 +08:00
|
|
|
labelEn: Database Service
|
|
|
|
labelZh: 数据库服务
|
|
|
|
required: true
|
2024-01-03 11:04:01 +08:00
|
|
|
type: apps
|
|
|
|
child:
|
|
|
|
default: ""
|
|
|
|
envKey: PANEL_DB_HOST
|
|
|
|
required: true
|
|
|
|
type: service
|
|
|
|
values:
|
|
|
|
- label: MySQL
|
|
|
|
value: mysql
|
|
|
|
- label: PostgreSQL
|
|
|
|
value: postgres
|
2023-05-18 18:25:00 +08:00
|
|
|
- default: gitea
|
|
|
|
envKey: PANEL_DB_NAME
|
|
|
|
labelEn: Database
|
|
|
|
labelZh: 数据库名
|
|
|
|
random: true
|
|
|
|
required: true
|
|
|
|
rule: paramCommon
|
|
|
|
type: text
|
|
|
|
- default: gitea
|
|
|
|
envKey: PANEL_DB_USER
|
|
|
|
labelEn: User
|
|
|
|
labelZh: 数据库用户
|
|
|
|
random: true
|
|
|
|
required: true
|
|
|
|
rule: paramCommon
|
|
|
|
type: text
|
|
|
|
- default: gitea
|
|
|
|
envKey: PANEL_DB_USER_PASSWORD
|
|
|
|
labelEn: Password
|
|
|
|
labelZh: 数据库用户密码
|
|
|
|
random: true
|
|
|
|
required: true
|
|
|
|
rule: paramComplexity
|
|
|
|
type: password
|
|
|
|
- default: 3000
|
|
|
|
envKey: PANEL_APP_PORT_HTTP
|
|
|
|
labelEn: Port
|
|
|
|
labelZh: HTTP 端口
|
|
|
|
required: true
|
|
|
|
rule: paramPort
|
|
|
|
type: number
|
|
|
|
- default: 222
|
|
|
|
envKey: PANEL_APP_PORT_SSH
|
|
|
|
labelEn: Port
|
|
|
|
labelZh: SSH 端口
|
|
|
|
required: true
|
|
|
|
rule: paramPort
|
|
|
|
type: number
|