-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig-example.toml
43 lines (29 loc) · 1.12 KB
/
config-example.toml
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
# Rename to config.toml to provide custom configuration.
# Secret used for API key generation. Don't push real value to GitHub!
Secret="Pssst!0123456789"
# Examples below show the system defaults if config omitted:
# ----------------------------------------------------------
# Address and port used for starting up content server
ServerAddr=":8080"
# URL path for fetching content
ServerContentPath="/crec/content"
# URL path for importing content
ServerImportPath="/crec/import"
# Directory to store imported content
ImportQueueDir="import"
# Whether or not a full-text index should be created
FullTextIndex=true
# Directory to store full-text index
FullTextIndexDir="index"
# File to store full-text index in $FullTextIndexDir
FullTextIndexFile="crec.bleve"
# Interval (in minutes) used to refresh content
IndexRefreshIntervalInMinutes=5
# Max-age used for client-side caching
ClientCacheMaxAgeInSeconds=120
# Directory to store content provider configurations
ProviderRegistryDir="provider-registry"
# Directory for HTML templates
Templatedir="template"
# Default locales of this node, used to speed up indexing
Locales="en, en-US"