Skip to content

Instantly share code, notes, and snippets.

@peterc
Created May 18, 2010 03:53
Show Gist options
  • Save peterc/404578 to your computer and use it in GitHub Desktop.
Save peterc/404578 to your computer and use it in GitHub Desktop.
/opt/config/mongodb
# Configuration Options for MongoDB
#
# For More Information, Consider:
# - Configuration Parameters: http://www.mongodb.org/display/DOCS/Command+Line+Parameters
# - File Based Configuration: http://www.mongodb.org/display/DOCS/File+Based+Configuration
dbpath = /opt/mongo/data
logpath = /opt/mongo/logs/mongodb.log
logappend = true
bind_ip = 127.0.0.1
port = 27017
fork = true
auth = true
# noauth = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment