From ee92143a18c7e0cf7a7ecc2ab74e275ba8a37a3b Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 21 Sep 2017 11:20:23 -0700 Subject: [PATCH] Updated documentation --- package.json | 2 +- readme.txt | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 474311f2d7..f0289e8ef8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.0.8-b", + "version": "0.0.8-c", "keywords": [ "Remote Management", "Intel AMT", diff --git a/readme.txt b/readme.txt index a6663c617c..07f7d14b07 100644 --- a/readme.txt +++ b/readme.txt @@ -109,6 +109,13 @@ As an alternative to using command line arguments, you can create a ./node-modul "title": "Customer2", "title2": "Other String" } + }, + "peers": { + "serverId" : "Server1", + "servers": { + "Server1": { "url": "wss://192.168.1.100:443/" }, + "Server2": { "url": "wss://192.168.1.101:443/" } + } } } ``` @@ -125,6 +132,7 @@ For the configuration above, the root domain and two other domains will be acces When you setup many domains, the server considers each domain seperatly. Each domain has seperate user accounts, administrators, etc. Within each domain, you can put a "title" and "title2" as strings that will show up at the top of the web site. "userQuota" indicates the default maximum amount of data a user can have in it's "My Files" folder. "meshQuota" is the maximum total size of files in each mesh folder. "newAccounts" indicates if new accounts can be created from the login page, 0 if not allowed, 1 if allowed. Note that if a web site has no accounts, the new account option will be available until an account is created and the first account will be the site administrator. +MeshCentral also supports server peering, add the "peers" section with a list of all peers. If you want to do server peering, make sure all servers are configured to use the same database. Also, the "serverId" value is optional. If it's not specified, the computers hostname is used instead. Other Notes -----------