Skip to content

Commit

Permalink
provide config instructions for MongoDB Atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Aug 18, 2023
1 parent 4184ed9 commit a63ac38
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion server/tinode.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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": "",
Expand Down

0 comments on commit a63ac38

Please sign in to comment.