forked from pencilblue/pencilblue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.config.js
60 lines (59 loc) · 1.48 KB
/
sample.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
/**
* This is a sample configuration meant to get users and up running on a local
* machine. The configuration will not support multi-process on a single
* server or multi-server/elastic environments. For more detailed information
* on the options provided please refer to the /include/config.js file.
*
* The file can be renamed to "config.js" in the same directory as this file
* and it will be used as the configuration when PencilBlue is started. If
* this file is used then there is no need to create a "config.json"
*/
module.exports = {
"siteName": "My PencilBlue Site",
"siteRoot": "http://127.0.0.1:8080",
"sitePort": 8080,
"logging": {
"level": "info"
},
"db": {
"type":"mongo",
"servers": [
"127.0.0.1:27017"
],
"name": "pencilblue",
"writeConcern": 1
},
"cache": {
"fake": true,
"host": "localhost",
"port": 6379
},
"settings": {
"use_memory": false,
"use_cache": false
},
"templates": {
"use_memory": true,
"use_cache": false
},
"plugins": {
"caching": {
"use_memory": false,
"use_cache": false
}
},
"registry": {
"type": "mongo"
},
"session": {
"storage": "mongo"
},
"media": {
"provider": "mongo",
"max_upload_size": 6 * 1024 * 1024
},
"cluster": {
"workers": 1,
"self_managed": true
}
};