How to configure nodebb using mongodb Atlas

Solved Technical Support
  • #1

    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
    #2

    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"

  • julianJ julian has marked this topic as solved on
  • julianJ julian has marked this topic as unsolved on
  • julianJ julian has marked this topic as solved on

Suggested Topics


  • How to post in chat room using API

    Unsolved Technical Support
    0 Votes
    1 Posts
    147 Views

  • 0 Votes
    1 Posts
    311 Views

  • 0 Votes
    34 Posts
    9225 Views

  • 0 Votes
    1 Posts
    843 Views

  • 0 Votes
    14 Posts
    4271 Views

| | | |