Skip to content

Instantly share code, notes, and snippets.

@dave-malone
Last active August 16, 2016 15:14
Show Gist options
  • Save dave-malone/31e35b80004681b84755a6a9ba46c9ae to your computer and use it in GitHub Desktop.
Save dave-malone/31e35b80004681b84755a6a9ba46c9ae to your computer and use it in GitHub Desktop.
systemLog:
destination: file
path: /usr/local/var/log/mongodb/mongo.log
logAppend: true
storage:
dbPath: /usr/local/var/mongodb
#net:
# bindIp: 127.0.0.1
security:
authorization: enabled
@dave-malone
Copy link
Author

A sample mongod.conf file with authorization enabled. Intended for local / development use only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment