-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.sample.js
85 lines (67 loc) · 1.33 KB
/
config.sample.js
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/**
* Tokinar config file
*
* Copy this file to `config.js` in the same directory and edit that
* file instead.
*/
module.exports = {
/**
* Application settings
*/
app: {
/**
* Base URL for the application, including protocol, hostname and
* port
*/
base_url: "http://localhost:8080",
/**
* Port to host the application on. Default: 8080.
*/
port: 8080,
/**
* Directory for storage. Default: "./storage"
*/
storage_dir: "./storage",
/**
* Google Analytics Tracking ID as a string. Default: null.
*/
ga: null
},
// ----------------------------------------------
/**
* TokBox OpenTok settings
*/
opentok: {
/**
* API Key obtained from TokBox
*/
api_key: "xxxx",
/**
* API Secret obtained from TokBox
*/
api_secret: "xxxx"
},
// ---------------------------------------------
/**
* SSL settings
*/
ssl: {
/**
* SSL enabled? Make this `true` to serve over HTTPS.
*/
enabled: false,
/**
* Path to SSL key. Relative to project root or absolute path.
*/
key: "key.pem",
/**
* Path to SSL certificate. Relative to project root or absolute
* path.
*/
cert: "cert.pem",
/**
* SSL passphrase, if any
*/
passphrase: ""
}
};