better config implementation from ENV or json file.

using new environment;
params passed as docker-compose params
This commit is contained in:
Dobromir Popov
2021-08-22 23:53:00 +03:00
parent 28ccaba895
commit 913b1a4f32
11 changed files with 11026 additions and 1264 deletions

View File

@@ -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",