configuration stuff
This commit is contained in:
parent
28475f2646
commit
9c86a64b95
1 changed files with 10 additions and 0 deletions
10
init-scripts/init.js
Executable file
10
init-scripts/init.js
Executable file
|
@ -0,0 +1,10 @@
|
|||
|
||||
db = db.getSiblingDB('test');
|
||||
|
||||
db.createUser({
|
||||
user: "rank_user",
|
||||
pwd: "12345",
|
||||
roles: [{ role: "readWrite", db: "test" }]
|
||||
});
|
||||
|
||||
db.createCollection('rank_crawler');
|
Loading…
Reference in a new issue