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


  • NODEBB forum installation failed

    Unsolved Technical Support
    2 Votes
    4 Posts
    366 Views

  • 0 Votes
    5 Posts
    435 Views

  • 0 Votes
    8 Posts
    4222 Views

  • 0 Votes
    1 Posts
    505 Views

  • 0 Votes
    37 Posts
    9983 Views

| | | |