added more config environments

This commit is contained in:
Dobromir Popov
2021-08-22 23:56:06 +03:00
parent 6c7912b915
commit f6a7790e92
3 changed files with 25 additions and 16 deletions

View File

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