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