-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
59 lines (59 loc) · 1.79 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"$id": "https://raw.githubusercontent.com/roadrunner-server/centrifuge/refs/heads/master/schema.json",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"description": "All the valid configuration parameters for the Centrifugo plugin for RoadRunner.",
"type": "object",
"title": "roadrunner-centrifuge",
"additionalProperties": false,
"properties": {
"proxy_address": {
"description": "The address of the Centrifugo proxy server.",
"type": "string",
"default": "tcp://127.0.0.1:30000",
"minLength": 1
},
"grpc_api_address": {
"description": "The address/port of the gRPC server API.",
"type": "string",
"default": "tcp://127.0.0.1:10000",
"minLength": 1
},
"use_compressor": {
"description": "Whether to use gRPC gzip compressor.",
"type": "boolean",
"default": false
},
"version": {
"description": "Your application version.",
"type": "string",
"default": "v1.0.0",
"minLength": 1
},
"name": {
"description": "Your application name.",
"type": "string",
"default": "roadrunner",
"minLength": 1
},
"pool": {
"$ref": "https://raw.githubusercontent.com/roadrunner-server/pool/refs/heads/master/schema.json"
},
"tls": {
"description": "TLS settings",
"type": "object",
"additionalProperties": false,
"properties": {
"cert": {
"$ref": "https://raw.githubusercontent.com/roadrunner-server/http/refs/heads/master/schema.json#/$defs/SSL/properties/cert"
},
"key": {
"$ref": "https://raw.githubusercontent.com/roadrunner-server/http/refs/heads/master/schema.json#/$defs/SSL/properties/key"
}
},
"required": [
"cert",
"key"
]
}
}
}