Skip to content

Instantly share code, notes, and snippets.

@addaleax
Last active September 16, 2022 16:16
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 addaleax/f404d9762d7d767baead1197a2f06b5e to your computer and use it in GitHub Desktop.
Save addaleax/f404d9762d7d767baead1197a2f06b5e to your computer and use it in GitHub Desktop.
systemLog:
destination: file
path: mongod1.log
logAppend: true
storage:
dbPath: db1
processManagement:
fork: true
net:
ipv6: true
bindIp: ::1
port: 27445
security:
keyFile: keyfile
transitionToAuth: true
replication:
replSetName: replset
enableMajorityReadConcern: true
systemLog:
destination: file
path: mongod2.log
logAppend: true
storage:
dbPath: db2
processManagement:
fork: true
net:
ipv6: true
bindIp: ::1
port: 27444
security:
keyFile: keyfile
transitionToAuth: true
replication:
replSetName: replset
enableMajorityReadConcern: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment