configuration stuff

This commit is contained in:
Kfir Dayan 2023-05-30 15:10:04 +03:00
parent 28475f2646
commit 9c86a64b95

10
init-scripts/init.js Executable file
View 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');