-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathconfig.json
38 lines (33 loc) · 1.83 KB
/
config.json
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
{
"land": "dev", /* Landscape: dev, test, prod. @Default "dev" */
"hostname": "", /* Accept only this host. If the hostname is omitted, the server will accept connections directed to any IPv4 address (INADDR_ANY). @Default "" */
"port": 3000, /* Application app.js will listen this port. @Default 3000 */
"uport": 3001, /* Application uploader.js will listen this port. @Default 3001 */
"protocol": "http", /* Protocol for external users. @Default "http" */
"domain": "127.0.0.1", /* Domain for external users, i.e. site entry point. @Default "127.0.0.1" */
"projectport": "", /* Port for external users. @Example ":1234". @Default "" */
"projectuport": ":3001", /* Upload files port for external users. @Example ":1234". @Default "" */
"storePath": "", /* Store folder with static user content (avatars, photos, etc). @Default "../store/" */
"servePublic": true, /* Tell app.js serve out its public folder (js, css, etc). @Default true */
"serveStore": true, /* Tell app.js serve out store public folder. @Default true */
"subdomains": "", /* Subdomains for serving store path's public folder divided by _. @Default "" */
"gzip": true, /* Compress response data with gzip/deflate. If using nginx before nodejs, recommend to use gzip there and switch off here. @Default true */
"logPath": "", /* Folder for logs. @Default "./logs" */
"manualGarbageCollect": 0, /* Manual invoke garbage collector in millisec.
WARN: need to use with node flags --nouse-idle-notification --expose-gc
If 0 - no manual collect. @Default 0 */
"mongo": {
"con": "mongodb://localhost:27017/pastvu", /* DB connection string */
"pool": 5 /* Number of concurrent connections to DB. @Default 5*/
},
"mail": {
"type": "SMTP",
"service": "Gmail",
"host": "",
"port": 0,
"auth": {
"user": "oldmos2@gmail.com",
"pass": "zaq1xsw21"
}
}
}