summaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-11-03 14:34:40 +0100
committerValery Piashchynski <[email protected]>2022-11-03 14:34:40 +0100
commitf78810939edc5a008dbe27b11fc0a084d266d5ec (patch)
tree1347409598a1ac3c055b98bda9032ac3682d8a1c /schemas
parent04c0a61ffc81230d8c1f2c4034b871cb8af7dc45 (diff)
add CHANGELOG
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'schemas')
-rw-r--r--schemas/config/2.0.schema.json75
1 files changed, 58 insertions, 17 deletions
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json
index 354be309..05d1add0 100644
--- a/schemas/config/2.0.schema.json
+++ b/schemas/config/2.0.schema.json
@@ -14,6 +14,63 @@
"2.7"
]
},
+ "centrifuge": {
+ "description": "Centrifugo server plugin. Docs: https://centrifugal.dev/",
+ "type": "object",
+ "properties": {
+ "proxy_address": {
+ "description": "Centrifugo server proxy address (docs: https://centrifugal.dev/docs/server/proxy#grpc-proxy)",
+ "type": "string",
+ "default": "tcp://127.0.0.1:30000"
+ },
+ "grpc_api_address": {
+ "description": "gRPC server API address (docs: https://centrifugal.dev/docs/server/server_api#grpc-api)",
+ "type": "string",
+ "default": "tcp://127.0.0.1:30000"
+ },
+ "use_compressor": {
+ "description": "Use gRPC gzip compressor",
+ "type": "boolean",
+ "default": false
+ },
+ "version": {
+ "description": "Your application version",
+ "type": "string",
+ "default": "v1.0.0"
+ },
+ "name": {
+ "description": "Your application name",
+ "type": "string",
+ "default": "roadrunner"
+ },
+ "pool": {
+ "description": "Workers pool settings",
+ "$ref": "#/definitions/WorkersPool"
+ },
+ "tls": {
+ "description": "TLS settings",
+ "type": "object",
+ "properties": {
+ "cert": {
+ "description": "Path to the cert file",
+ "type": "string",
+ "minLength": 1,
+ "examples": [
+ "/ssl/server.crt"
+ ]
+ },
+ "key": {
+ "description": "Path to the cert key file",
+ "type": "string",
+ "minLength": 1,
+ "examples": [
+ "/ssl/server.key"
+ ]
+ }
+ }
+ }
+ }
+ },
"rpc": {
"type": "object",
"properties": {
@@ -336,7 +393,7 @@
"require_and_verify_client_cert"
]
},
- "server_name" :{
+ "server_name": {
"description": "ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address.",
"type": "string",
"default": null
@@ -689,22 +746,6 @@
}
}
},
- "new_relic": {
- "description": "New Relic middleware",
- "type": "object",
- "properties": {
- "app_name": {
- "type": "string",
- "description": "Application name. NEW_RELIC_APP_NAME env variable should be set if the app_name key is empty.",
- "default": null
- },
- "licence_key": {
- "type": "string",
- "description": "Licence key. NEW_RELIC_LICENSE_KEY env variable should be set if the license_key key is empty.",
- "default": null
- }
- }
- },
"uploads": {
"type": "object",
"properties": {