1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-26 13:48:53 +08:00

Add NATS configs

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
Drasko DRASKOVIC 2016-05-17 23:24:19 +02:00
parent 2f1e5163b5
commit 3bb18620b2
2 changed files with 17 additions and 1 deletions

View File

@ -20,9 +20,17 @@ config.server = {
* MongoDB
*/
config.db = {
host : 'localhost',
host : mongo,
port : 27017,
name : 'test'
}
/**
* NATS
*/
config.nats = {
host : nats,
port : 4222
}
module.exports = config;

View File

@ -16,4 +16,12 @@ config.server = {
version: 0.1
}
/**
* NATS
*/
config.nats = {
host : nats,
port : 4222
}
module.exports = config;