Skip to content

Instantly share code, notes, and snippets.

@Jlaird
Last active August 29, 2015 14:20
Show Gist options
  • Save Jlaird/0811228b00e9681ffe4b to your computer and use it in GitHub Desktop.
Save Jlaird/0811228b00e9681ffe4b to your computer and use it in GitHub Desktop.
Mongo Config
systemLog:
destination: file
path: "/var/log/mongo/mongod.log"
logAppend: true
quiet: true
operationProfiling:
mode: off
slowOpThresholdMs: 1000
storage:
dbPath: "/data/mongo/"
journal:
enabled: true
engine: wiredTiger
wiredTiger:
engineConfig:
cacheSizeGB: 25
processManagement:
fork: true
pidFilePath: "/var/run/mongodb/mongod.pid"
net:
port: 27017
http:
enabled: true
RESTInterfaceEnabled: true
setParameter:
enableLocalhostAuthBypass: false
replication:
replSetName: merrick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment