mongo
use admin
db.createUser({user:"admin", pwd:"admin", roles:[{role:"readWriteAnyDatabase", db:"admin"}, {role:"userAdminAnyDatabase", db:"admin"}]})
use nodebb
db.createUser({user: "nodebb", pwd: "nodebb", roles:[{role: "readWrite", db: "nodebb"}, {role: "clusterMonitor", db: "admin"}]})
{
"url": "http://10.0.6.22:4567",
"secret": "xxxxxxxx",
"database": "mongo",
"port": 4567,
"mongo": {
"host": "10.0.6.22",
"port": "27017",
"username": "nodebb",
"password": "nodebb",
"database": "nodebb"
}
}