commit 500166b0bccca4307e781642f2738bdde93748e5 Author: STEINNI Date: Thu Sep 11 20:46:26 2025 +0000 1st diff --git a/wssGatewayConfig.json b/wssGatewayConfig.json new file mode 100644 index 0000000..b9cb9ac --- /dev/null +++ b/wssGatewayConfig.json @@ -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" + } +}