added more config environments
This commit is contained in:
@@ -3,5 +3,10 @@ npm-debug.log
|
|||||||
docs
|
docs
|
||||||
mysql.txt
|
mysql.txt
|
||||||
test.js
|
test.js
|
||||||
|
|
||||||
|
# another container
|
||||||
mysql
|
mysql
|
||||||
|
|
||||||
|
# custom
|
||||||
|
.vscode
|
||||||
|
cert
|
||||||
|
|||||||
@@ -1,12 +1,27 @@
|
|||||||
{
|
{
|
||||||
"development": {
|
"development": {
|
||||||
"username": "root",
|
"username": "iot",
|
||||||
"database": "iot",
|
"database": "iot",
|
||||||
|
"password": "localdevdobri",
|
||||||
"host": "127.0.0.1",
|
"host": "127.0.0.1",
|
||||||
"port":"3306",
|
"port":"3306",
|
||||||
"dialect": "mysql",
|
"dialect": "mysql",
|
||||||
"operatorsAliases": false,
|
"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": {
|
"production": {
|
||||||
"username": "iot",
|
"username": "iot",
|
||||||
@@ -16,6 +31,8 @@
|
|||||||
"port":"3306",
|
"port":"3306",
|
||||||
"dialect": "mysql",
|
"dialect": "mysql",
|
||||||
"operatorsAliases": false,
|
"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