2021-07-10 19:40:17 +02:00
|
|
|
# mongod.conf
|
|
|
|
|
|
|
|
# for documentation of all options, see:
|
|
|
|
# http://docs.mongodb.org/manual/reference/configuration-options/
|
|
|
|
|
|
|
|
# Where and how to store data.
|
|
|
|
storage:
|
|
|
|
dbPath: /var/lib/mongodb
|
|
|
|
journal:
|
|
|
|
enabled: true
|
|
|
|
engine: wiredTiger
|
|
|
|
# mmapv1:
|
|
|
|
# wiredTiger:
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
# how the process runs
|
|
|
|
processManagement:
|
|
|
|
timeZoneInfo: /usr/share/zoneinfo
|
|
|
|
|
|
|
|
#security:
|
|
|
|
|
|
|
|
#operationProfiling:
|
|
|
|
|
|
|
|
replication:
|
2021-11-14 10:10:59 +01:00
|
|
|
replSetName: rs01
|
2021-07-10 19:40:17 +02:00
|
|
|
|
|
|
|
#sharding:
|
|
|
|
|
|
|
|
## Enterprise-Only Options:
|
|
|
|
|
|
|
|
#auditLog:
|
|
|
|
|
|
|
|
#snmp:
|