mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-26 13:48:53 +08:00
Add microservices local configurations
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
parent
797a804cda
commit
454760e62e
BIN
.docker-compose.yml.swp
Normal file
BIN
.docker-compose.yml.swp
Normal file
Binary file not shown.
28
config/core/config.js
Normal file
28
config/core/config.js
Normal file
@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Copyright (c) Mainflux
|
||||
*
|
||||
* Mainflux server is licensed under an Apache license, version 2.0 license.
|
||||
* All rights not explicitly granted in the Apache license, version 2.0 are reserved.
|
||||
* See the included LICENSE file for more details.
|
||||
*/
|
||||
var config = {};
|
||||
|
||||
/**
|
||||
* Core HTTP server
|
||||
*/
|
||||
config.server = {
|
||||
message : 'We are in development',
|
||||
port : 6969,
|
||||
version: 0.1
|
||||
}
|
||||
|
||||
/**
|
||||
* MongoDB
|
||||
*/
|
||||
config.db = {
|
||||
host : 'localhost',
|
||||
port : 27017,
|
||||
name : 'test'
|
||||
}
|
||||
|
||||
module.exports = config;
|
28
config/http/config.js
Normal file
28
config/http/config.js
Normal file
@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Copyright (c) Mainflux
|
||||
*
|
||||
* Mainflux server is licensed under an Apache license, version 2.0 license.
|
||||
* All rights not explicitly granted in the Apache license, version 2.0 are reserved.
|
||||
* See the included LICENSE file for more details.
|
||||
*/
|
||||
var config = {};
|
||||
|
||||
/**
|
||||
* Core HTTP server
|
||||
*/
|
||||
config.server = {
|
||||
message : 'We are in development',
|
||||
port : 7070,
|
||||
version: 0.1
|
||||
}
|
||||
|
||||
/**
|
||||
* MongoDB
|
||||
*/
|
||||
config.db = {
|
||||
host : 'localhost',
|
||||
port : 27017,
|
||||
name : 'test'
|
||||
}
|
||||
|
||||
module.exports = config;
|
20
config/mqtt/config.js
Normal file
20
config/mqtt/config.js
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Copyright (c) Mainflux
|
||||
*
|
||||
* Mainflux server is licensed under an Apache license, version 2.0 license.
|
||||
* All rights not explicitly granted in the Apache license, version 2.0 are reserved.
|
||||
* See the included LICENSE file for more details.
|
||||
*/
|
||||
var mosca = require('mosca');
|
||||
|
||||
var config = {};
|
||||
|
||||
/**
|
||||
* Mosca
|
||||
*/
|
||||
config.mosca = {
|
||||
port: 1883,
|
||||
}
|
||||
|
||||
|
||||
module.exports = config;
|
20
config/ws/config.js
Normal file
20
config/ws/config.js
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Copyright (c) Mainflux
|
||||
*
|
||||
* Mainflux server is licensed under an Apache license, version 2.0 license.
|
||||
* All rights not explicitly granted in the Apache license, version 2.0 are reserved.
|
||||
* See the included LICENSE file for more details.
|
||||
*/
|
||||
var mosca = require('mosca');
|
||||
|
||||
var config = {};
|
||||
|
||||
/**
|
||||
* Mosca
|
||||
*/
|
||||
config.ws = {
|
||||
port: 9090,
|
||||
}
|
||||
|
||||
|
||||
module.exports = config;
|
Loading…
x
Reference in New Issue
Block a user