-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathconfig.js
More file actions
108 lines (107 loc) · 2.62 KB
/
config.js
File metadata and controls
108 lines (107 loc) · 2.62 KB
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
108
var config = {
"port": "3000",
"ip" : "127.0.0.1",
"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",
"de"
]
},
"dir": {
"storage": "../public/files",
"storage_url": "/files",
"avatars": "../public/images/avatars",
"tmp": "../tmp"
},
"cookie": {
"secret": "RyPuUGSsPulhvQnNL0lLOJCQjjVM0xHw",
"domain": "",
"prefix": "taracotjs_locale_",
"httpOnly": false,
"secure": false,
"maxAge": null,
"path": "/"
},
"session": {
"secret": "Dd7nMf1FawoIGPeps4NjVPJeSIqzjkgN",
"name": "taracotjs_session",
"rolling": false,
"resave": false,
"proxy": true,
"saveUninitialized": true,
"unset": "destroy"
},
"salt": "sl0HcBdMEXWsJpuMFv8yDT1lZYEo7kyMcbKUCNySja0C0sNSEFgVPMDrkFwjhgEd",
"redis": {
"active": true,
"host": "localhost",
"port": 6379,
"prefix": "taracotjs_",
"password": ""
},
"mailer": {
"sender": "TaracotJS <noreply@taracot.org>",
"feedback": "TaracotJS <info@taracot.org>",
"transport": "sendmail",
"sendmail": {
path: '/usr/sbin/sendmail'
},
"smtp": {
service: 'Gmail',
auth: {
user: 'gmail.user@gmail.com',
pass: 'password'
}
}
},
"mongo": {
"url": "mongodb://localhost/taracotjs",
"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;