forked from lynckia/ackuaria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ackuaria_config.js.template
52 lines (44 loc) · 2.01 KB
/
ackuaria_config.js.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
var config = {}
/*********************************************************
AMQP CONFIGURATION
AMQP server must be the same as Licode
**********************************************************/
config.rabbit = {};
config.rabbit.host = 'localhost'; //default value: 'localhost'
config.rabbit.port = 5672; //default value: 5672
/*********************************************************
Logger CONFIGURATION
**********************************************************/
config.logger = {};
config.logger.config_file = './log4js_configuration.json'; //default value: "../log4js_configuration.json"
/*********************************************************
DB CONFIGURATION.
If not used, only real-time data will be provided
**********************************************************/
config.ackuaria = {};
config.ackuaria.useDB = false; // default value: false
config.ackuaria.dataBaseURL = "localhost/ackuariadb"; // default value: 'localhost/ackuariadb'
config.ackuaria.port = 8888; // default value: 8888
config.ackuaria.call_time = 180; // default value: 180 (Minimum number of seconds to wait before accepting a new call to Nuve)
/*********************************************************
NUVE CONFIGURATION
**********************************************************/
config.nuve = {};
config.nuve.host = 'http://localhost:3000/'; // default value: 'http://localhost:3000/'
config.nuve.superserviceID = ''; // default value: ''
config.nuve.superserviceKey = ''; // default value: ''
/*********************************************************
EVENT EXTERNAL NOTIFICATIONS CONFIGURATION
**********************************************************/
config.notifications = {};
config.notifications.https = false;
config.notifications.hostname = ''; // hostname without protocol
config.notifications.auth = 'user:pass';
config.notifications.port = '80';
config.notifications.endpoints = {
unpublish: '/unpublish' // include `slash`
};
/***** END *****/
// Following lines are always needed.
var module = module || {};
module.exports = config;