-
Notifications
You must be signed in to change notification settings - Fork 2
/
mongod.conf
47 lines (37 loc) · 1.14 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
# {{ ansible_managed }}
dbpath = /var/lib/mongodb
storageEngine = wiredTiger
wiredTigerCacheSizeGB = 2
## seconds to wait between each write to a statistics file in the dbpath;
## 0 means do not log statistics
# wiredTigerStatisticsLogDelaySecs 0
## use a compressor for log records; [none|snappy|zlib]
# wiredTigerJournalCompressor arg (=snappy)
## Put indexes and data in different directories
# wiredTigerDirectoryForIndexes
## block compression algorithm for collection data [none|snappy|zlib]
# wiredTigerCollectionBlockCompressor arg (=snappy)
## use prefix compression on row-store leaf pages
# wiredTigerIndexPrefixCompression 1
#noprealloc = {{ mongodb_conf_noprealloc|to_nice_json }}
#where to log
#logpath=/var/log/mongodb/mongod.log
logappend = true
#port =
#bind_ip = 0.0.0.0
journal = true
cpu = true
auth = false
fork = false
smallfiles = false
maxConns = 4096
ipv6 = false
# Verbose logging output.
#verbose = true
# Inspect all client data for validity on receipt (useful for
# developing drivers)
#objcheck = true
# defaults to port 28017
httpinterface = false
noscripting = false
notablescan = false