Skip to content

Instantly share code, notes, and snippets.

@PatrickKalkman
Created January 10, 2020 09:27
Show Gist options
  • Save PatrickKalkman/90a9a2493b5e9a066161775f93736e9a to your computer and use it in GitHub Desktop.
Save PatrickKalkman/90a9a2493b5e9a066161775f93736e9a to your computer and use it in GitHub Desktop.
init mongo script for creating workflow engine user during startup of MongoDB
db.createUser({
user: 'mve-workflowengine',
pwd: 'mve-workflowengine-password',
roles: [
{
role: 'readWrite',
db: 'workflow-db',
},
],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment