TodoSystemMicroService-NodeJS/infra/docker/mongo-init-scripts/init.js.example
2023-07-08 10:28:47 +03:00

7 lines
No EOL
133 B
Text

db = db.getSiblingDB('user_db');
db.createUser({
user: "user",
pwd: "12345",
roles: [{ role: "readWrite", db: "user_db" }]
});