instance-input-schema.json 4.34 KB
Newer Older
1
{
2 3 4 5 6 7 8
  "$schema": "http://json-schema.org/draft-04/schema",
  "properties": {
    "-frontend-quantity": {
      "description": "Quantity of Frontends Replicate.",
      "title": "Frontend Replication Quantity",
      "type": "integer"
    },
9
    "apache-certificate": {
10
      "description": "SSL Certificate used by the server. By appending to it CA certificate it is possible to use this field to replace not implemented apache-ca-certificate. Deprecated, please use master-key-upload-url.",
11
      "textarea": true,
12
      "title": "[DEPRECATED] SSL Certificate, with optional CA certificate",
13 14 15 16 17 18 19 20
      "type": "string"
    },
    "apache-key": {
      "description": "SSL Key used by the server. Deprecated, please use master-key-upload-url.",
      "textarea": true,
      "title": "[DEPRECATED] SSL Key",
      "type": "string"
    },
21
    "domain": {
22
      "description": "Domain used to generate automatic hostnames for slaves. For example 'example.com' will result with slave hostname 'slaveref.example.com'.",
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$",
      "title": "Domain",
      "type": "string"
    },
    "enable-http2-by-default": {
      "default": "true",
      "description": "Use HTTP2 as default Protocol",
      "enum": [
        "true",
        "false"
      ],
      "title": "Enable HTTP2 by Default",
      "type": "string"
    },
    "mpm-graceful-shutdown-timeout": {
      "default": 5,
      "description": "Value passed to -grace parameter of Caddy, see https://caddyserver.com/docs/cli .",
40
      "title": "Duration of the graceful shutdown period. Warning: Changing the parameter will result in restarting Caddy process.",
41 42 43 44 45 46 47
      "type": "integer"
    },
    "re6st-verification-url": {
      "description": "Url to verify if the internet and/or re6stnet is working.",
      "title": "Test Verification URL",
      "type": "string"
    },
48
    "backend-connect-timeout": {
49
      "default": 5,
50 51
      "description": "Time in seconds for establishing connection to the backend.",
      "title": "Timeout for backend connection (seconds)",
52 53
      "type": "integer"
    },
54 55 56 57
    "backend-connect-retries": {
      "default": 3,
      "description": "Amount of retries to connect to the backend. The amount of backend-connect-timeout*backend-connect-retries seconds will be spent to connect to the backend.",
      "title": "Amount of retries to connect to the backend.",
58
      "type": "integer"
59 60
    },
    "automatic-internal-kedifa-caucase-csr": {
61
      "default": "true",
62
      "description": "Automatically signs CSRs sent to KeDiFa's caucase, based on CSR comparison.",
63 64 65 66 67 68
      "enum": [
        "true",
        "false"
      ],
      "title": "Automatic Internal KeDiFa's Caucase CSR",
      "type": "string"
69
    },
70 71
    "automatic-internal-backend-client-caucase-csr": {
      "default": "true",
72
      "description": "Automatically signs CSRs sent to Backend Client's caucase, based on CSR comparison.",
73 74 75 76 77 78 79
      "enum": [
        "true",
        "false"
      ],
      "title": "Automatic Internal Backend Client's Caucase CSR",
      "type": "string"
    },
80 81 82 83
    "ciphers": {
      "description": "List of ciphers. Empty defaults to Caddy list of ciphers. See https://caddyserver.com/docs/tls for more information.",
      "title": "Ordered space separated list of ciphers",
      "type": "string"
84 85 86 87 88 89
    },
    "request-timeout": {
      "default": 600,
      "description": "Timeout for HTTP requests.",
      "title": "HTTP Request timeout in seconds",
      "type": "integer"
90 91 92 93 94 95 96 97 98 99
    },
    "authenticate-to-backend": {
      "default": "false",
      "description": "If set to true the frontend certificate will be used as authentication certificate to the backend. Note: backend might have to know the frontend CA, available with 'backend-client-caucase-url'.",
      "enum": [
        "false",
        "true"
      ],
      "title": "Authenticate to backend",
      "type": "string"
100 101 102 103 104 105 106 107 108 109 110 111
    },
    "ram-cache-size": {
      "default": "1G",
      "title": "Default size of RAM cache on each node (bytes)",
      "description": "The value can be provided with suffix 'K', 'M', 'G'",
      "type": "string"
    },
    "disk-cache-size": {
      "default": "8G",
      "title": "Default size of disk cache on each node (bytes)",
      "description": "The value can be provided with suffix 'K', 'M', 'G'",
      "type": "string"
112 113 114 115
    }
  },
  "title": "Input Parameters",
  "type": "object"
116
}