additionalProperties:
  formFields:
    - child:
        default: ""
        envKey: PANEL_POSTGRES_SERVICE
        required: true
        type: service
      default: postgresql
      envKey: PANEL_POSTGRES_TYPE
      labelZh: Postgres 服务 (前置检查)
      labelEn: Postgres Service (Pre-check)
      required: true
      type: apps
      values:
        - label: PostgreSQL
          value: postgresql
    - default: 3002
      edit: true
      envKey: PANEL_APP_PORT_HTTP
      labelZh: WebUI 端口
      labelEn: WebUI port
      required: true
      rule: paramPort
      type: number
    - default: 3001
      edit: true
      envKey: PANEL_APP_PORT_API
      labelZh: API 端口
      labelEn: API port
      required: true
      rule: paramPort
      type: number
    - default: "http://127.0.0.1:3001"
      edit: true
      envKey: ENDPOINT
      labelZh: OIDC 发行者域名
      labelEn: OIDC Issuer Domain
      required: true
      type: text
    - default: "http://127.0.0.1:3002"
      edit: true
      envKey: ADMIN_ENDPOINT
      labelZh: 控制台重定向地址
      labelEn: Admin Redirect URL
      required: true
      type: text
    - default: "false"
      edit: true
      envKey: ADMIN_DISABLE_LOCALHOST
      labelZh: 禁用后台访问
      labelEn: Disable Admin Access
      required: true
      type: select
      values:
        - label: 禁用访问
          value: "true"
        - label: 允许访问
          value: "false"
    - default: "127.0.0.1"
      edit: true
      envKey: POSTGRES_HOST
      labelZh: 数据库 主机地址
      labelEn: Database Host
      required: true
      type: text
    - default: 5432
      edit: true
      envKey: POSTGRES_PORT
      labelZh: 数据库 端口
      labelEn: Database Port
      required: true
      rule: paramPort
      type: number
    - default: "logto"
      edit: true
      envKey: POSTGRES_NAME
      labelZh: 数据库 名称
      labelEn: Database Name
      required: true
      rule: paramCommon
      type: text
    - default: "logto"
      edit: true
      envKey: POSTGRES_USER
      labelZh: 数据库 用户名
      labelEn: Database Username
      required: true
      type: text
    - default: ""
      edit: true
      envKey: POSTGRES_PASSWORD
      labelZh: 数据库 密码
      labelEn: Database Password
      random: true
      required: true
      rule: paramComplexity
      type: password
    - default: ""
      edit: true
      envKey: REDIS_URL
      labelZh: 中央缓存 Redis
      labelEn: Central Cache Redis
      required: false
      type: text
