added more config environments
This commit is contained in:
@@ -3,5 +3,10 @@ npm-debug.log
|
||||
docs
|
||||
mysql.txt
|
||||
test.js
|
||||
|
||||
# another container
|
||||
mysql
|
||||
|
||||
# custom
|
||||
.vscode
|
||||
cert
|
||||
|
||||
@@ -1,12 +1,27 @@
|
||||
{
|
||||
"development": {
|
||||
"username": "root",
|
||||
"username": "iot",
|
||||
"database": "iot",
|
||||
"password": "localdevdobri",
|
||||
"host": "127.0.0.1",
|
||||
"port":"3306",
|
||||
"dialect": "mysql",
|
||||
"operatorsAliases": false,
|
||||
"logFile":"/dht.log"
|
||||
"logFile":"/dht.log",
|
||||
"gardenIP":"192.168.0.187",
|
||||
"mqttIP": "192.168.0.10"
|
||||
},
|
||||
"mitko": {
|
||||
"host": "node-mysql",
|
||||
"database": "iot",
|
||||
"username": "root",
|
||||
"password": "mitko2021",
|
||||
"port":"3306",
|
||||
"dialect": "mysql",
|
||||
"operatorsAliases": false,
|
||||
"logFile":"/dht.log",
|
||||
"gardenIP":"192.168.0.187",
|
||||
"mqttIP": "192.168.0.10"
|
||||
},
|
||||
"production": {
|
||||
"username": "iot",
|
||||
@@ -16,6 +31,8 @@
|
||||
"port":"3306",
|
||||
"dialect": "mysql",
|
||||
"operatorsAliases": false,
|
||||
"logFile":"/var/www/dht.log"
|
||||
"logFile":"/var/www/dht.log",
|
||||
"gardenIP":"192.168.0.187",
|
||||
"mqttIP": "192.168.0.10"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
module.exports = {
|
||||
GardenIP: '192.168.0.187',
|
||||
AcIP : '192.168.1.143',
|
||||
HouseDhtIP : '192.168.1.126',
|
||||
HomeControllerMQTT : '192.168.0.10',//GW02
|
||||
localPath : "",
|
||||
foo: function () {
|
||||
// whatever
|
||||
},
|
||||
bar: function () {
|
||||
// whatever
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user