mirror of
https://github.com/sasjs/server.git
synced 2025-12-15 21:14:35 +00:00
4
mongo-seed/clients/Dockerfile
Normal file
4
mongo-seed/clients/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM mongo
|
||||
|
||||
COPY ./clients.json /clients.json
|
||||
CMD mongoimport --host mongodb --db sasjs --collection clients --type json --file /clients.json --jsonArray
|
||||
6
mongo-seed/clients/clients.json
Normal file
6
mongo-seed/clients/clients.json
Normal file
@@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"clientId": "clientID1",
|
||||
"clientSecret": "clientSecret"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user