Skip to content

Instantly share code, notes, and snippets.

@bcchenbc
Last active November 26, 2015 09:09
Show Gist options
  • Save bcchenbc/b93d20cfa073a4b5dcde to your computer and use it in GitHub Desktop.
Save bcchenbc/b93d20cfa073a4b5dcde to your computer and use it in GitHub Desktop.
mongod.conf with modified pathes and engine
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: /mongodb
journal:
enabled: true
engine: "wiredTiger"
# mmapv1:
wiredTiger:
collectionConfig:
blockCompressor: snappy
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /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