Skip to content

Instantly share code, notes, and snippets.

@alexserver
Created April 13, 2015 13:47
Show Gist options
  • Save alexserver/2d475bf2a05913c58fa1 to your computer and use it in GitHub Desktop.
Save alexserver/2d475bf2a05913c58fa1 to your computer and use it in GitHub Desktop.
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