Skip to content

Instantly share code, notes, and snippets.

@parkerfoshay
Created March 15, 2023 23:01
Show Gist options
  • Save parkerfoshay/7ab1404ccb6b41f0fd54316b60ad8fdc to your computer and use it in GitHub Desktop.
Save parkerfoshay/7ab1404ccb6b41f0fd54316b60ad8fdc to your computer and use it in GitHub Desktop.
epl-node-4-conf
# mongod_dba_reconfig_replica_4.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: /var/lib/mongodb/4/db
journal:
enabled: true
wiredTiger:
engineConfig:
cacheSizeGB: 0.3
# engine:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/4/logs/mongod.log
# network interfaces
net:
port: 27003
bindIp: 127.0.0.1
# how the process runs
processManagement:
timeZoneInfo: /usr/share/zoneinfo
fork: true
security:
authorization: enabled
keyFile: /var/mongodb/pki/node4/dba-keyfile
#operationProfiling:
replication:
replSetName: mongodb-replSet
#sharding:
## Enterprise-Only Options:
#auditLog:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment