instance-apache-input-schema.json 3.21 KB
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "Input Parameters",
  "properties": {
    "public-ipv4": {
      "title": "Public IPv4",
      "description": "Public ipv4 of the frontend (the one Apache will be indirectly listening to).",
      "type": "string"
    },
    "ip-read-limit": {
      "title": "IPReadLimit",
      "description": "Value used to set IPReadLimit Parameter for antiloris.",
      "type": "integer",
      "default": 10
    },
    "mpm-server-limit": {
      "title": "ServerLimit",
      "description": "Value used to set ServerLimit on apache configuration.",
      "type": "integer",
      "default": 16
    },
    "mpm-max-clients": {
      "title": "MaxClients",
      "description": "Value used to set MaxClients on apache configuration.",
      "type": "integer",
      "default": 400
    },
    "mpm-start-servers": {
      "title": "StartServers",
      "description": "Value used to set StartServers on apache configuration.",
      "type": "integer",
      "default": 3
    },
    "mpm-thread-per-child": {
      "title": "ThreadsPerChild",
      "description": "Value used to set ThreadsPerChild on apache configuration.",
      "type": "integer",
      "default": 25
    },
    "mpm-graceful-shutdown-timeout": {
      "title": "ThreadsPerChild",
      "description": "Value used to set ThreadsPerChild on apache configuration.",
      "type": "integer",
      "default": 5
    },
    "enable-http2-by-default": {
      "title": "Enable HTTP2 by Default",
      "description": "Use HTTP2 as default Protocol",
      "type": "string",
      "default": "true",
      "enum": [
        "true",
        "false"
      ]
    },
    "re6st-verification-url": {
      "title": "Test Verification URL",
      "description": "Url to verify if the internet and/or re6stnet is working.",
      "type": "string"
    },
    "-frontend-authorized-slave-string": {
      "title": "Authorized Slave String",
      "description": "List of SOFTINST-XXX of Slaves, separated by space which is allowed to use custom configuration.",
      "type": "string"
    },
    "apache-key": {
      "title": "Apache Key",
      "description": "Apache Key",
      "textarea": true,
      "type": "string"
    },
    "apache-certificate": {
      "title": "Apache Certificate",
      "description": "Apache Certificate",
      "textarea": true,
      "type": "string"
    },
    "apache-ca-certificate": {
      "title": "Apache CA Certificate",
      "description": "Apache CA Certificate",
      "textarea": true,
      "type": "string"
    },
    "domain": {
      "title": "Domain",
      "description": "Base Domain for create subdomains (ie.: example.com).",
      "type": "string",
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$"
    },
    "nginx-domain": {
      "title": "Nginx Domain",
      "description": "Base Domain for create subdomains (ie.: example2.com) for websocket, notebook and eventsource.",
      "type": "string",
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$"
    },
    "-frontend-quantity": {
      "title": "Frontend Replication Quantity",
      "description": "Quantity of Frontends Replicate.",
      "type": "integer"
    }
  }
}