Skip to content

Instantly share code, notes, and snippets.

@bricss
Last active February 4, 2023 16:25
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 bricss/bd92d1ce6738a8cc6f72 to your computer and use it in GitHub Desktop.
Save bricss/bd92d1ce6738a8cc6f72 to your computer and use it in GitHub Desktop.
MongoDB config sample
net:
ipv6: true
storage:
dbPath: "C:/MongoDB/data"
directoryPerDB: true
journal:
enabled: true
wiredTiger:
engineConfig:
cacheSizeGB: 2
journalCompressor: zstd
collectionConfig:
blockCompressor: zstd
indexConfig:
prefixCompression: true
systemLog:
destination: file
logAppend: true
logRotate: reopen
path: "C:/MongoDB/log/mongod.log"
timeStampFormat: iso8601-utc
traceAllExceptions: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment