misskey-awawa/.config/mongo_initdb_example.js

14 lines
172 B
JavaScript

var user = {
user: 'example-misskey-user',
pwd: 'example-misskey-pass',
roles: [
{
role: 'readWrite',
db: 'misskey'
}
]
};
db.createUser(user);