Skip to content

Instantly share code, notes, and snippets.

@shionryuu
Created April 10, 2020 17:04
Show Gist options
  • Select an option

  • Save shionryuu/3cee157ef67cf767e38742d9116bfd35 to your computer and use it in GitHub Desktop.

Select an option

Save shionryuu/3cee157ef67cf767e38742d9116bfd35 to your computer and use it in GitHub Desktop.
MongoDB Default Config
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: %MONGO_DATA_PATH%
journal:
enabled: true
# engine:
# mmapv1:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: %MONGO_LOG_PATH%\mongod.log
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1
#processManagement:
#security:
#operationProfiling:
#replication:
#sharding:
## Enterprise-Only Options:
#auditLog:
#snmp:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment