TodoSystemMicroService-NodeJS/infra/docker/init-scripts/init.js.example

7 lines
133 B
Text
Raw Normal View History

2023-07-07 22:54:57 +00:00
db = db.getSiblingDB('user_db');
db.createUser({
user: "user",
pwd: "12345",
roles: [{ role: "readWrite", db: "user_db" }]
});