-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmongod.conf
41 lines (36 loc) · 806 Bytes
/
mongod.conf
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
processManagement:
fork: false
pidFilePath: /usr/local/mongodb/log/mongod.pid
systemLog:
destination: file
path: /usr/local/mongodb/log/mongod.log
logAppend: true
net:
port: 27017
maxIncomingConnections: 200
unixDomainSocket:
enabled: true
pathPrefix: /usr/local/mongodb/tmp/
bindIp: 0.0.0.0
security:
javascriptEnabled: true
operationProfiling:
slowOpThresholdMs: 10000
mode: slowOp
storage:
engine: wiredTiger
dbPath: /usr/local/mongodb/data
directoryPerDB: true
syncPeriodSecs: 60
wiredTiger:
engineConfig:
cacheSizeGB: 2
statisticsLogDelaySecs: 0
journalCompressor: snappy
directoryForIndexes: true
collectionConfig:
blockCompressor: snappy
indexConfig:
prefixCompression: true
journal:
enabled: true