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:
4
mongo-seed/users/Dockerfile
Normal file
4
mongo-seed/users/Dockerfile
Normal 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
|
||||
10
mongo-seed/users/users.json
Normal file
10
mongo-seed/users/users.json
Normal file
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"displayName": "Super Admin",
|
||||
"username": "secretuser",
|
||||
"password": "$2a$10$hKvcVEZdhEQZCcxt6npazO6mY4jJkrzWvfQ5stdBZi8VTTwVMCVXO",
|
||||
"isAdmin": true,
|
||||
"isActive": true
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user