Skip to content

Instantly share code, notes, and snippets.

@zrod
Created November 6, 2015 21:52
Show Gist options
  • Save zrod/cb10104dc2ca977ed5fb to your computer and use it in GitHub Desktop.
Save zrod/cb10104dc2ca977ed5fb to your computer and use it in GitHub Desktop.
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: "/var/lib/mongodb"
engine: "wiredTiger"
wiredTiger:
collectionConfig:
blockCompressor: snappy
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongod.log
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment