Skip to content

Instantly share code, notes, and snippets.

@dr-dimitru
Last active May 27, 2020 21:04
Show Gist options
  • Save dr-dimitru/415ec199e60ae3bb23aafca447b2fee7 to your computer and use it in GitHub Desktop.
Save dr-dimitru/415ec199e60ae3bb23aafca447b2fee7 to your computer and use it in GitHub Desktop.
storage:
dbPath: /var/lib/mongodb
journal:
enabled: true
engine: wiredTiger
wiredTiger:
engineConfig:
cacheSizeGB: 0.3
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongod.log
net:
port: 27017
bindIp: 0.0.0.0
unixDomainSocket:
enabled: false
operationProfiling:
slowOpThresholdMs: 2100
mode: slowOp
replication:
oplogSizeMB: 250
replSetName: rs0
security:
authorization: enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment