Solved How to configure nodebb using mongodb Atlas


  • Hi,
    I want to configure nodebb forums using mongodb atlas (cloud). Can anyone of you please guide me on it.

    Thanks in advance

  • NodeBB

    There isn't much to it really, once you setup your db on atlas you can use the connection string in the uri parameter in your nodebb's config.json like so

    "uri": "mongodb+srv://<username>:<password>@cluster0.myqqq.mongodb.net/<database_name>?retryWrites=true&w=majority"

  • NodeBB

    There isn't much to it really, once you setup your db on atlas you can use the connection string in the uri parameter in your nodebb's config.json like so

    "uri": "mongodb+srv://<username>:<password>@cluster0.myqqq.mongodb.net/<database_name>?retryWrites=true&w=majority"

  • Topic has been marked as solved  julian julian 
  • Topic has been marked as unsolved  julian julian 
  • Topic has been marked as solved  julian julian 

Suggested Topics

  • 19
  • 9
  • 34
  • 3
  • 1
| |