converting to MP, just config in accessRights left

This commit is contained in:
STEINNI
2025-10-05 21:24:10 +00:00
parent 03af111d7f
commit 350d37e465
13 changed files with 283 additions and 796 deletions
+40 -46
View File
@@ -66,38 +66,46 @@
]
}
},
"redis": {
"type": "object",
"properties": {
"host": { "type": "string" },
"tls": { "type": "boolean" },
"port": { "type": "integer" },
"user": { "type": "string" },
"pass": { "type": "string" },
"basePrefix": { "type": "string" },
"challengePrefix": { "type": "string" },
"historizeMax": { "type": "integer" },
"historizePrefix": { "type": "string" },
"platformStateKey": { "type": "string" },
"storeMaxSize": { "type": "integer" },
"storePrefix": { "type": "string" },
"historizeChannels": {
"type": "array",
"items": {
"type": "string"
}
"redis":{
"type": "array",
"items": {
"type": "object",
"properties": {
"redisId": {"type": "string" },
"role": {"type": "string", "enum": ["primary", "shard"] },
"host": { "type": "string" },
"tls": { "type": "boolean" },
"port": { "type": "integer" },
"user": { "type": "string" },
"pass": { "type": "string" },
"chansFilter": { "type": "string" },
"basePrefix": { "type": "string" },
"historizeMax": { "type": "integer" },
"historizePrefix": { "type": "string" },
"storeMaxSize": { "type": "integer" },
"storePrefix": { "type": "string" },
"historizeChannels": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"redisId",
"chansFilter",
"role",
"basePrefix",
"storeMaxSize",
"storePrefix"
],
"if": {
"properties": { "role": { "const": "primary" } }
},
"then": {
"required": ["historizeChannels", "historizeMax", "historizePrefix"]
}
},
"required": [
"basePrefix",
"challengePrefix",
"historizeChannels",
"historizeMax",
"historizePrefix",
"platformStateKey",
"storeMaxSize",
"storePrefix"
]
}
},
"server": {
"type": "object",
@@ -109,30 +117,16 @@
"listenPath": { "type": "string" },
"unsecure": { "type": "boolean" },
"challengeExpiration": { "type": "integer" },
"healthCheckPath": { "type": "string" },
"keepAliveInterval": { "type": "string" },
"keepAliveTimeout": { "type": "string" },
"systemChannels": {
"type": "object",
"properties": {
"onlineUsers": {
"type": "string"
}
},
"required": [
"onlineUsers"
]
}
"keepAliveTimeout": { "type": "string" }
},
"required": [
"challengeExpiration",
"healthCheckPath",
"keepAliveInterval",
"keepAliveTimeout",
"listenHost",
"listenPath",
"listenPort",
"systemChannels",
"unsecure"
],
"if": {