Skip to content

Instantly share code, notes, and snippets.

@notbrain
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notbrain/ccc4a221e97107ba7afd to your computer and use it in GitHub Desktop.
Save notbrain/ccc4a221e97107ba7afd to your computer and use it in GitHub Desktop.
mongod yaml config file
storage:
dbPath: /var/lib/mongodb
journal:
enabled: true
systemLog:
destination: file
path: /var/log/mongodb/mongod.log
logAppend: true
logRotate: rename
component:
accessControl:
verbosity: 2
net:
bindIp: 127.0.0.1
port: 27017
processManagement:
fork: true
setParameter:
enableLocalhostAuthBypass: false
security:
authorization: enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment