You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
660 B
44 lines
660 B
# mongod.conf
|
|
|
|
# for documentation of all options, see:
|
|
# http://docs.mongodb.org/manual/reference/configuration-options/
|
|
|
|
# Where and how to store data.
|
|
storage:
|
|
dbPath: /data/db
|
|
journal:
|
|
enabled: true
|
|
# engine:
|
|
# 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:
|
|
authorization: enabled
|
|
|
|
#operationProfiling:
|
|
|
|
#replication:
|
|
|
|
#sharding:
|
|
|
|
## Enterprise-Only Options:
|
|
|
|
#auditLog:
|
|
|
|
#snmp:
|