instance-varnish-input-schema.json 1.23 KB
Newer Older
1 2 3 4 5
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "extends": "./schema-definitions.json#",
  "properties": {
    "tcpv4-port": {
6 7 8 9 10 11 12 13 14
      "allOf": [
        {
          "$ref": "#/definitions/tcpv4port"
        },
        {
          "description": "Start allocating ports at this value, going upward",
          "default": 6001
        }
      ]
15 16 17 18 19
    },
    "backend-url": {
      "description": "The backend url that varnish will cache",
      "type": "string"
    },
20
    "web-checker": {
21
      "description": "Controls automated cache checker, disabled if null or empty",
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
      "properties": {
        "frontend-url": {
          "description": "Override entry-point-url web checker will check the HTTP headers of all links in the web site, '%(ip)s' and '%(port)s' being substituted with varnish's listening ip and port, respectively",
          "default": "http://%(ip)s:%(port)s/",
          "type": "string"
        },
        "mail-address": {
          "description": "Email address to which web checker result is sent",
          "type": "string"
        },
        "smtp-host": {
          "description": "The smtp server to be used to send the web checker result",
          "type": "string"
        }
      },
      "type": "object"
38 39 40
    }
  }
}