This commit is contained in:
STEINNI
2025-09-11 20:46:26 +00:00
commit 500166b0bc
+64
View File
@@ -0,0 +1,64 @@
{
"serviceName": "wssGateway",
"server": {
"listenHost": "0.0.0.0",
"listenPort": 4443,
"listenPath": "/msgbus",
"keepAliveInterval": "30",
"keepAliveTimeout": "5",
"certFile": "/etc/letsencrypt/live/eismea.internike.com/fullchain.pem",
"certKeyFile": "/etc/letsencrypt/live/eismea.internike.com/privkey.pem",
"challengeExpiration": 20,
"unsecure": false,
"healthCheckPath": "/status",
"devotpToken": "qhsdfkjhqsgdfkqhs",
"systemChannels": {
"onlineUsers": "onlineUsers"
}
},
"accessRights":[
{
"roles": "*",
"mustSubscribe": [ "system:notifs:[UID]", "onlineUsers", "system:notifs" ],
"canSubscribe": ["chat:*_*","userchans:notifs"],
"canPublish": [ "chat:*_*", "userchans:notifs" ],
"canSet": [ "[UID]:userPrefs", "chat:friends", "collaborative:chalkboardUsers" ],
"canGet": [ "[UID]:userPrefs", "chat:friends", "collaborative:chalkboardUsers" ]
},
{
"roles": ["EIC_Admin","EIC_Dev"],
"mustSubscribe": ["system:adminNotifs"],
"canSubscribe": ["collaborative:*"],
"canPublish": ["system:notifs:*", "system:notifs", "infraNotifs:httpGateway", "infraNotifs:test", "collaborative:*"],
"canSet": ["*:userPrefs"],
"canGet": ["*:userPrefs"],
"canDo": ["getActiveUsers", "killSessions","reloadAccessRights", "getAccessRights", "getPlatformState", "setPlatformState", "redPill"]
},
{
"roles": ["EIC_Dev"],
"uuids":["steinic"],
"canPublish": [],
"canSubscribe": [],
"mustSubscribe": [],
"canDo": ["REDPILL", "BLUEPILL"]
}
],
"redis":{
"host": "127.0.0.1",
"tls":false,
"port": 6379,
"Xuser": "msgbus",
"Xpass": "yj465sqfCTA0bKDw3zEYg8OqYl9Tv",
"user": "",
"pass": "",
"historizeChannels": [ "userchans:*" ],
"historizeMax": 1000,
"authTokenPrefix": "authorizer:message_bus_user_",
"challengePrefix": "msgBusChallenge:",
"basePrefix": "messageBus:",
"storePrefix": "messageBus:Store:",
"storeMaxSize": 51200,
"historizePrefix": "histoChan:",
"platformStateKey": "authorizer:platformDown"
}
}