diff --git a/mongodb/files/mongodb.conf b/mongodb/files/mongodb.conf index 060ce63..e9dee18 100644 --- a/mongodb/files/mongodb.conf +++ b/mongodb/files/mongodb.conf @@ -1,21 +1,19 @@ # mongodb.conf -#where to log +dbpath=/srv/mongodb +pidfilepath=/var/run/mongodb/mongodb.pid + +# where to log logpath=/var/log/mongodb/mongodb.log +logappend = true # fork and run in background fork = true +# bind to localhost bind_ip = 127.0.0.1 port = 27017 -dbpath=/srv/mongodb - -pidfilepath=/var/run/mongodb/mongodb.pid - -# Enables periodic logging of CPU utilization and I/O wait -cpu = true - # Turn on/off security. Off is currently the default auth = true