65 lines
2.4 KiB
JSON
65 lines
2.4 KiB
JSON
{
|
|
"serviceName": "wssGateway",
|
|
"server": {
|
|
"listenHost": "0.0.0.0",
|
|
"listenPort": 3999,
|
|
"listenPath": "/msgbus",
|
|
"keepAliveInterval": "30",
|
|
"keepAliveTimeout": "5",
|
|
"certFile": "/etc/letsencrypt/live/42.internike.com/fullchain.pem",
|
|
"certKeyFile": "/etc/letsencrypt/live/42.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"
|
|
}
|
|
}
|