dockerized the project for dev

This commit is contained in:
QkoSad
2024-09-06 16:27:48 +03:00
parent 8e83b6b8df
commit 04ae8b7be8
47 changed files with 363 additions and 635 deletions
+15
View File
@@ -0,0 +1,15 @@
db.createUser({
user: "the_username",
pwd: "the_password",
roles: [
{
role: "dbOwner",
db: "the_database",
},
],
});
db.createCollection("todos");
db.todos.insert({ text: "Write code", done: true });
db.todos.insert({ text: "Learn about containers", done: false });