-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcfg.conf.template
48 lines (38 loc) · 873 Bytes
/
cfg.conf.template
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
#process
processManagement:
fork: true
pidFilePath: #basedir#/cfg/#node#/cfg.pid
#net
net:
bindIp: #bindIp#
port: #port#
#storage
storage:
dbPath: #basedir#/cfg/#node#/data
journal:
enabled: true
directoryPerDB: true
syncPeriodSecs: 60
engine: wiredTiger
wiredTiger:
engineConfig:
statisticsLogDelaySecs: 0
journalCompressor: snappy
directoryForIndexes: true
collectionConfig:
blockCompressor: snappy
indexConfig:
prefixCompression: true
#log
systemLog:
destination: file
path: #basedir#/cfg/#node#/log/cfg.log
logAppend: true
verbosity: 0
#profiling
operationProfiling:
slowOpThresholdMs: 100
mode: slowOp
#shard
sharding:
clusterRole: configsvr