.catalog:
  name: "Registry"
  version: "v2.3.1-3.1"
  description: "Docker Registry"
  uuid: registry-3
  questions: 
    - variable: "RPORT"
      label: "Registry Port"
      description: "Port on which to run the registry service"
      default: 5000
      required: true
      type: "int"
    - variable: "PPORT"
      label: "Admin Port"
      description: "Port on which to run the SSL Portus administration service and API"
      default: 443
      required: true
      type: "int"
    - variable: "DBPASSWORD"
      label: "DB Password"
      description: "Password for Portus database access, must be 8 characters or longer"
      required: true
      default: password
      type: "password"
    - variable: "ROOTPASSWORD"
      label: "DB Root Password"
      description: "Root Password for MySQL database, must be 8 characters or longer.  This is not normally used."
      required: true
      default: password
      type: "password"
    - variable: "DRIVER"
      label: "Storage Pool"
      description: "Convoy storage pool name"
      required: true
      type: "string"
      default: "convoy"
    - variable: "PFX"
      label: "Convoy volume prefix"
      description: "Prefix to use for all Convoy storage pool volumes"
      required: true
      type: "string"
      default: "registry"
    - variable: "DOMAIN"
      label: "FQDN"
      description: "FQDN of server.  This should be the CN in the certificates and will be the URL to contact the Registry and Web interface"
      required: true
      type: "string"
    - variable: "LDAP"
      label: "LDAP Enabled"
      description: "Enable LDAP authentication"
      required: true
      default: false
      type: "boolean"
    - variable: "LDAPHOST"
      label: "LDAP Server"
      description: "The FQDN of the LDAP server (if LDAP authentication is being used)"
      required: false
      default: "ldap.company.com"
      type: "string"
    - variable: "LDAPPORT"
      label: "LDAP Server port"
      description: "The port number on the LDAP server (if LDAP authentication is being used)"
      required: false
      default: 389
      type: "int"
    - variable: "LDAPTLS"
      label: "LDAP TLS"
      description: "The TLS option for the LDAP server (if LDAP authentication is being used)"
      required: false
      default: "starttls"
      type: "enum"
      options:
        - starttls
        - simple_tls
        - plain
    - variable: "LDAPBASE"
      label: "LDAP Base DN"
      description: "The Base DN for User lookups on the LDAP server (if LDAP authentication is being used)"
      required: false
      default: "ou=People,dc=company,dc=com"
      type: "string"
    - variable: "LDAPBIND"
      label: "LDAP Bind enabled"
      description: "Should an authenticated Bind be used to access LDAP (if LDAP authentication is being used)"
      required: false
      default: false
      type: "boolean"
    - variable: "LDAPBINDDN"
      label: "LDAP Bind DN"
      description: "The DN to use for binding to the LDAP server (if LDAP authentication is being used with Bind enabled)"
      required: false
      default: "ou=portus,dc=company,dc=com"
      type: "string"
    - variable: "LDAPBINDPASS"
      label: "LDAP Bind Password"
      description: "The password to use for binding to the LDAP server (if LDAP authentication is being used with Bind enabled)"
      required: false
      default: "password"
      type: "password"
db:
  scale: 1
sslproxy:
  scale: 1
lb:
  load_balancer_config:
    haproxy_config: {}
  health_check:
    port: 42
    interval: 2000
    unhealthy_threshold: 3
    healthy_threshold: 2
    response_timeout: 2000
registry:
  scale: 1
portus:
  scale: 1
