Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
mongo configuration for mac osx installed via homebrew
# 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
You can’t perform that action at this time.