gui for Nimble
mongo -u admin -p UkIbDILcNbMhkh3KtN6xfr9h admin (passwd in /etc/st2/st2.config)
db.createUser({user: "appUser",pwd: "passwordForAppUser",roles: [ { role: "readWrite", db: "app_db" } ]})
app.config['MONGODB_SETTINGS'] = {
'db': 'app_db',
'host': 'localhost',
'port': 27017,
'username': 'appUser',
'password': 'passwordForAppUser',
'authentication_source': 'admin'
}
Now Flask app can access the st2 mongo database installation