Skip to content

Instantly share code, notes, and snippets.

@karthiks
Created August 17, 2020 09:31
Show Gist options
  • Save karthiks/c3905738bc65dbe14e2bc0bdf1f4dda2 to your computer and use it in GitHub Desktop.
Save karthiks/c3905738bc65dbe14e2bc0bdf1f4dda2 to your computer and use it in GitHub Desktop.
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: C:\your\custom\path\to\mongodb\data
journal:
enabled: true
# engine:
# mmapv1:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: C:\your\custom\path\to\mongodb\log\mongod.log
# network interfaces
net:
port: 27017
bindIp: 0.0.0.0
#bindIpAll: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment