1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-02 06:06:39 +08:00
pooneyy 9779122311
feat(apps): add structured label field to all application configurations
- add nested label field with en and zh translations for all parameters
- maintain existing labelEn and labelZh fields for backward compatibility
- apply consistent internationalization structure across all apps
- improve localization support for multi-language user interfaces
2025-11-06 23:35:02 +08:00

267 lines
6.6 KiB
YAML

additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
default: mysql
labelEn: Database Service
labelZh: 数据库服务
label:
en: Database Service
zh: 数据库服务
params:
- envKey: WOODPECKER_DB_PORT
key: mysql
type: param
value: "3306"
#- envKey: WOODPECKER_DB_PORT
# key: postgresql
# type: param
# value: "5432"
required: true
type: apps
values:
- label: MySQL
value: mysql
- default: woodpecker
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
label:
en: Database
zh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: woodpecker
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
label:
en: User
zh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: woodpecker
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
label:
en: Password
zh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 40122
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
label:
en: Data folder path
zh: 数据文件夹路径
required: true
type: text
- default: "false"
edit: true
envKey: REGISTER_SWITCH
labelEn: Enable register (true or false)
labelZh: 启用注册(true/false)
label:
en: Enable register (true or false)
zh: 启用注册(true/false)
required: true
type: text
- default: http://ci.example.com
edit: true
envKey: WOODPECKER_HOST
labelEn: External URL
labelZh: 外部访问地址
label:
en: External URL
zh: 外部访问地址
required: true
type: text
- default: ''
edit: true
envKey: WOODPECKER_AGENT_SECRET
labelEn: Github Agent Secret Vaule
labelZh: Github Agent Secret 值
label:
en: Github Agent Secret Vaule
zh: Github Agent Secret 值
required: true
type: text
- default: "true"
edit: true
envKey: GITHUB_ENABLE_SWITCH
labelEn: Enable Github (true or false)
labelZh: 启用Github(true/false)
label:
en: Enable Github (true or false)
zh: 启用Github(true/false)
required: true
type: text
- default: https://github.com
edit: true
envKey: WOODPECKER_GITHUB_URL
labelEn: Github URL
labelZh: Github地址
label:
en: Github URL
zh: Github地址
required: false
type: text
- default: ''
edit: true
envKey: WOODPECKER_GITHUB_CLIENT
labelEn: Github CLIENT Vaule
labelZh: Github CLIENT 值
label:
en: Github CLIENT Vaule
zh: Github CLIENT 值
required: false
type: text
- default: ''
edit: true
envKey: WOODPECKER_GITHUB_SECRET
labelEn: Github SECRET Vaule
labelZh: Github SECRET 值
label:
en: Github SECRET Vaule
zh: Github SECRET 值
required: false
type: text
- default: "false"
edit: true
envKey: GITEA_ENABLE_SWITCH
labelEn: Enable Gitea (true or false)
labelZh: 启用Gitea(true/false)
label:
en: Enable Gitea (true or false)
zh: 启用Gitea(true/false)
required: true
type: text
- default: https://try.gitea.io
edit: true
envKey: WOODPECKER_GITEA_URL
labelEn: Gitea URL
labelZh: Gitea地址
label:
en: Gitea URL
zh: Gitea地址
required: false
type: text
- default: ''
edit: true
envKey: WOODPECKER_GITEA_CLIENT
labelEn: Gitea CLIENT Vaule
labelZh: Gitea CLIENT 值
label:
en: Gitea CLIENT Vaule
zh: Gitea CLIENT 值
required: false
type: text
- default: ''
edit: true
envKey: WOODPECKER_GITEA_SECRET
labelEn: Gitea SECRET Vaule
labelZh: Gitea SECRET 值
label:
en: Gitea SECRET Vaule
zh: Gitea SECRET 值
required: false
type: text
- default: "false"
edit: true
envKey: GITLAB_ENABLE_SWITCH
labelEn: Enable GitLab (true or false)
labelZh: 启用GitLab (true/false)
label:
en: Enable GitLab (true or false)
zh: 启用GitLab (true/false)
required: true
type: text
- default: https://gitlab.com
edit: true
envKey: WOODPECKER_GITLAB_URL
labelEn: GitLab URL
labelZh: GitLab 地址
label:
en: GitLab URL
zh: GitLab 地址
required: false
type: text
- default: ''
edit: true
envKey: WOODPECKER_GITLAB_CLIENT
labelEn: GitLab CLIENT Vaule
labelZh: GitLab CLIENT 值
label:
en: GitLab CLIENT Vaule
zh: GitLab CLIENT 值
required: false
type: text
- default: ''
edit: true
envKey: WOODPECKER_GITLAB_SECRET
labelEn: GitLab SECRET Vaule
labelZh: GitLab SECRET 值
label:
en: GitLab SECRET Vaule
zh: GitLab SECRET 值
required: false
type: text
- default: "false"
edit: true
envKey: BITBUCKET_ENABLE_SWITCH
labelEn: Enable Bitbucket (true or false)
labelZh: 启用 Bitbucket (true/false)
label:
en: Enable Bitbucket (true or false)
zh: 启用 Bitbucket (true/false)
required: true
type: text
- default: ''
edit: true
envKey: WOODPECKER_BITBUCKET_CLIENT
labelEn: Bitbucket CLIENT Value
labelZh: Bitbucket CLIENT 值
label:
en: Bitbucket CLIENT Value
zh: Bitbucket CLIENT 值
required: false
type: text
- default: ''
edit: true
envKey: WOODPECKER_BITBUCKET_SECRET
labelEn: Bitbucket SECRET Value
labelZh: Bitbucket SECRET 值
label:
en: Bitbucket SECRET Value
zh: Bitbucket SECRET 值
required: false
type: text