Created
February 7, 2020 14:50
-
-
Save dr-dimitru/cf970ff2592a7bc5fc4113aae406a1db to your computer and use it in GitHub Desktop.
MongoDB configuration we use on Meteor.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Our servers has 32GB of RAM | |
storage: | |
dbPath: /data/mongo | |
journal: | |
enabled: true | |
engine: wiredTiger | |
wiredTiger: | |
engineConfig: | |
cacheSizeGB: 8 | |
systemLog: | |
verbosity: 1 | |
traceAllExceptions: false | |
destination: file | |
path: /var/log/mongodb/mongod.log | |
net: | |
port: [PORT_NUMBER] | |
bindIp: [PUBLIC IP, OR DOMAIN NAME] | |
operationProfiling: | |
slowOpThresholdMs: 2100 | |
replication: | |
oplogSizeMB: 1024 | |
replSetName: rs0 | |
enableMajorityReadConcern: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment