-
-
Notifications
You must be signed in to change notification settings - Fork 758
/
Copy pathmongod.conf
59 lines (42 loc) · 1.18 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Custom mongod config which enables various MongoDB options which speed up the
# build.
# In addition to that, we enable "notablescan" option which causes tests to
# error our if some query is not using an index and results in a table scan.
#
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongod.log
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1
#processManagement:
#security:
#operationProfiling:
#replication:
#sharding:
## Enterprise-Only Options:
#auditLog:
#snmp:
# NOTE: The following is the same as running mongodb with:
# mongod --nojournal --journalCommitInterval 500 --syncdelay 0 \
# --wiredTigerStatisticsLogDelaySecs 0 --noIndexBuildRetry --noscripting \
# --notablescan --dbpath ${DATA_DIR} --bind_ip 127.0.0.1 &> /tmp/mongodb.log &
storage:
engine: mmapv1
dbPath: /var/lib/mongodb
indexBuildRetry: false
journal:
enabled: false
commitIntervalMs: 500
syncPeriodSecs: 0
security:
authorization: false
javascriptEnabled: false
setParameter:
notablescan: 1