# 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: /data1/mongodb/logs/mongod.log
# where and how to store data.
storage:
dbPath: /data1/mongodb/data
journal:
enabled: true
wiredTiger:
engineConfig:
cacheSizeGB: 0.5
# how the process runs
processManagement:
fork: true
pidFilePath: /data1/mongodb/mongod.pid
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1