Adding docker support

This commit is contained in:
Adolfo Reyna
2024-10-18 11:59:15 -04:00
parent e52c379a55
commit aac7080f7f
5 changed files with 55 additions and 3 deletions

View File

@@ -5,7 +5,10 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
"start": "node index.js",
"docker": "docker compose up -d",
"docker_restore": "docker-compose exec mongo mongorestore --db EMI_SOCIAL /dump/EMI_SOCIAL/",
"docker_dump": "docker-compose exec mongo mongodump --uri ${MONGO_URL} --out /dump"
},
"author": "",
"license": "ISC",