Skip to content

Instantly share code, notes, and snippets.

@Intelrunner
Last active July 28, 2024 19:35
Show Gist options
  • Save Intelrunner/7aca5686a437275e14f640c11134240f to your computer and use it in GitHub Desktop.
Save Intelrunner/7aca5686a437275e14f640c11134240f to your computer and use it in GitHub Desktop.
mongod.conf - base from 6.0 w/auth enabled for pull on startup
# Where and how to store data.
storage:
dbPath: /var/lib/mongodb
# engine:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongod.log
# network interfaces
net:
port: 27017
bindIp: "*"
# how the process runs
processManagement:
timeZoneInfo: /usr/share/zoneinfo
security:
authorization: "enabled"
#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