Created
April 13, 2015 13:47
-
-
Save alexserver/2d475bf2a05913c58fa1 to your computer and use it in GitHub Desktop.
mongo configuration for mac osx installed via homebrew
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 | |
storage: | |
dbPath: "/usr/local/var/mongodb" | |
journal: | |
enabled: false | |
# Append logs to /usr/local/var/log/mongodb/mongo.log | |
systemLog: | |
destination: file | |
path: "/usr/local/var/log/mongodb/mongo.log" | |
logAppend: true | |
#running as a daemon | |
processManagement: | |
fork: true | |
# Only accept local connections | |
net: | |
bindIp: 127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment