diff --git a/server/tinode.conf b/server/tinode.conf index c7b697138f110e69443bbec09a7594a76b6db64d..e15941fb25321c056c5addf8ab955a49083012dd 100644 --- a/server/tinode.conf +++ b/server/tinode.conf @@ -304,7 +304,12 @@ // MongoDB configuration. "mongodb": { // Connection string https://www.mongodb.com/docs/manual/reference/connection-string/ - // Options configured with the connection string override any other options. + // Options configured with the connection string override any other options + // (only 'uri' is used to the server, all other options ignored). + // If you are using Atlas, then you MUST use 'uri' to connect. See here: + // https://www.mongodb.com/docs/manual/reference/connection-string/#std-label-connections-dns-seedlist + // Something like + // "uri": "mongodb+srv://CREDENTIALS@PROJECT.gmuaq.mongodb.net/DATABASE?retryWrites=true&w=majority", "uri": "", // The only supported server API version is "1". May or maynot be needed depending on server version. "api_version": "",