better config implementation from ENV or json file.
using new environment; params passed as docker-compose params
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
"description": " test api for IOT devices",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "nodemon dht.js",
|
||||
"pm2": "pm2 start ecosystem.config.js --no-daemon",
|
||||
"dev": "nodemon index.js",
|
||||
"start": "node index.js"
|
||||
},
|
||||
"repository": {
|
||||
@@ -37,6 +38,7 @@
|
||||
"mongoose": "^5.9.19",
|
||||
"morgan": "^1.10.0",
|
||||
"mosca": "^2.8.3",
|
||||
"jsonschema": "1.2.6",
|
||||
"mqtt": "^4.1.0",
|
||||
"mysql": "^2.18.1",
|
||||
"mysql2": "^2.1.0",
|
||||
|
||||
Reference in New Issue
Block a user