-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
107 lines (106 loc) · 2.17 KB
/
config.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
var config = {
"port": process.env.PORT || "3000",
"gid": "",
"uid": "",
"protocol": "http",
"layouts": {
"default": "taracot_default",
"avail": [
"taracot_default"
]
},
"locales": {
"dev_mode": true,
"detect_from_subdomain": true,
"detect_from_query": false,
"detect_from_cookie": false,
"avail": [
"en",
"ru"
]
},
"dir": {
"storage": "../public/files",
"storage_url": "/files",
"avatars": "../public/images/avatars",
"tmp": "../tmp"
},
"cookie": {
"secret": "NTWXm84H6eUxXmlRNAoFfewvsrTLHcl3",
"domain": "",
"prefix": "taracotjs_locale_",
"httpOnly": false,
"secure": false,
"maxAge": null,
"path": "/"
},
"session": {
"secret": "8XZ4AbgAgs4O7rnnsYhajZp7bo5VhCFb",
"name": "taracotjs_session",
"rolling": false,
"resave": false,
"proxy": true,
"saveUninitialized": true,
"unset": "destroy"
},
"salt": "U82ClYO4VIcrrTESXGedc4Q9wTumgn9VorBlqtu4pvf4HNu95aAAb3SSUgroGtS9",
"redis": {
"active": true,
"host": "soapfish.redistogo.com",
"port": 9817,
"prefix": "redis://redistogo",
"url": "redis://redistogo:[email protected]:9817/",
"password": "a9bb306806ca5b9fef42839382b0c62a"
},
"mailer": {
"sender": "TaracotJS <[email protected]>",
"feedback": "TaracotJS <[email protected]>",
"transport": "sendmail",
"sendmail": {
"path": "/usr/sbin/sendmail"
},
"smtp": {
"service": "Gmail",
"auth": {
"user": "[email protected]",
"pass": "password"
}
}
},
"mongo": {
"url": "mongodb://taracot_cms:[email protected]:35027/taracot_cms",
"options": {
"server": {
"auto_reconnect": false,
"poolSize": 10,
"socketOptions": {
"keepAlive": 1
}
},
"db": {
"numberOfRetries": 10,
"retryMiliSeconds": 1000
}
}
},
"captcha": "captcha_native",
"graphicsmagick": false,
"max_upload_file_mb": 100,
"max_upload_image_mb": 5,
"max_edit_file_kb": 1024,
"log": {
"console": {
"level": "info",
"colorize": true
},
"file": {
"level": "error",
"filename": "../logs/taracotjs.log",
"json": true,
"maxsize": 1048576,
"maxFiles": 3
},
"stack": true
}
};
module.exports = config;