Skip to content

Instantly share code, notes, and snippets.

@miguelcma
Created March 17, 2015 17:27
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 miguelcma/b651782e6534b13a3967 to your computer and use it in GitHub Desktop.
Save miguelcma/b651782e6534b13a3967 to your computer and use it in GitHub Desktop.
MongoDB 3.0 Config skeleton YAML
systemLog:
destination: file
path: '/usr/local/var/log/mongodb/mongod1.log'
logAppend: true
storage:
dbPath: '/usr/local/var/mongodb1'
directoryPerDB: true
journal:
enabled: true
engine: wiredTiger
wiredTiger:
engineConfig:
directoryForIndexes: true
processManagement:
fork: true
net:
bindIp:
- 127.0.0.1
- 192.168.10.228
port: 27011
replication:
replSetName: rs1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment