move to docker-compose + add db

This commit is contained in:
Kishan Takoordyal
2021-02-12 09:55:13 +04:00
parent 16f91dc886
commit fbe9dceb89
7 changed files with 75 additions and 5 deletions

4
config/code-server.yml Normal file
View File

@@ -0,0 +1,4 @@
bind-addr: 127.0.0.1:9000
auth: password
password: a5d14b610c4d585e24fe9414
cert: false

12
config/init-mongo.js Normal file
View File

@@ -0,0 +1,12 @@
db.createUser(
{
user: "user",
pwd: "password",
roles: [
{
role: "readWrite",
db : "db"
}
]
}
)