Created
October 10, 2014 18:58
-
-
Save ftsanjuan/4274dff307b4151b7797 to your computer and use it in GitHub Desktop.
A MongoDB config file in YAML format for installations on Mac OSX using Homebrew. Start up mongo daemon process with: mongod --config path/to/mongo.conf
This file contains hidden or 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
# daemonize by default | |
processManagement: | |
fork: true | |
systemLog: | |
destination: file | |
path: "/usr/local/var/log/mongodb/mongo.log" | |
logAppend: true | |
# Only accept local connections | |
net: | |
bindIp: 127.0.0.1 | |
# Store data in /usr/local/var/mongodb instead of the default /data/db | |
storage: | |
dbPath: "/usr/local/var/mongodb" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment