docs(config): remove optional parameters

This commit is contained in:
Fabrice Mouhartem 2026-09-11 17:58:23 +02:00
parent 4c36a2b8eb
commit bd9a86c925
No known key found for this signature in database

View File

@ -12,56 +12,44 @@ module.exports = {
externalWebsocketURL: undefined,
fileHost: undefined,
// (Optional) httpServerId only useful for multi-server cases
httpServerId: '',
httpServerId: "",
},
// Configure the topology here. Add or remove nodes on each level
// depending on your instance usage.
// "host" and "port" correspond to the nodejs HTTP server of each node
// "url" can be set if your nodes are on different machines. They must
// be able to reach each other from this URL
// "url" is optional and can be set if your nodes are on different machines.
// They must be able to reach each other from this URL
// "serverId" is optional and is only useful for multi-server cases
"front": [
{
url: "", // e.g. "https://node1.my-cryptpad-domain.net"
host: "localhost",
port: 3010, // Public http and websocket port
serverId: ''
},
{
url: "", // "https://node2.my-cryptpad-domain.net"
host: "localhost",
port: 3011,
serverId: ''
}
],
"core": [
{
url: "",
host: "localhost",
port: 3020, // Internal websocket between all nodes
serverId: ''
},
{
url: "",
host: "localhost",
port: 3021,
serverId: ''
}
],
"storage": [
{
url: "",
host: "localhost",
port: 3030, // Public port to serve "blob", "block", etc.
wsPort: 3040, // Internal websocket between storage nodes
serverId: ''
},
{
url: "",
host: "localhost",
port: 3031,
wsPort: 3041,
serverId: ''
}
]
};