1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-10 07:50:05 +00:00

chore: added docker containers

This commit is contained in:
Saad Jutt
2021-11-09 03:51:49 +05:00
parent d3fef0f973
commit d7cbd315a6
10 changed files with 151 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
FROM mongo
COPY ./users.json /users.json
CMD mongoimport --host mongodb --db sasjs --collection users --type json --file /users.json --jsonArray

View File

@@ -0,0 +1,10 @@
[
{
"id": 1,
"displayName": "Super Admin",
"username": "secretuser",
"password": "$2a$10$hKvcVEZdhEQZCcxt6npazO6mY4jJkrzWvfQ5stdBZi8VTTwVMCVXO",
"isAdmin": true,
"isActive": true
}
]