Last active
December 22, 2015 23:29
-
-
Save tensiondriven/6546677 to your computer and use it in GitHub Desktop.
/usr/local/etc/mongod.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Store data in /usr/local/var/mongodb instead of the default /data/db | |
dbpath = /usr/local/var/mongodb | |
# Append logs to /usr/local/var/log/mongodb/mongo.log | |
logpath = /usr/local/var/log/mongodb/mongo.log | |
logappend = true | |
# Only accept local connections | |
bind_ip = 127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment