Created
October 16, 2015 13:17
-
-
Save stekhn/f4cc8b1a13fac1d46f98 to your computer and use it in GitHub Desktop.
Example YAML configuration for a MongoDB 3.0 database on CentOS
This file contains 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
processManagement: | |
fork: true | |
pidFilePath: /var/run/mongodb/mongod.pid | |
net: | |
bindIp: 127.0.0.1 | |
port: 27017 | |
storage: | |
dbPath: /var/lib/mongo | |
journal: | |
enabled: true | |
systemLog: | |
destination: file | |
path: /var/log/mongodb/mongod.log | |
logAppend: true | |
security: | |
authorization: enabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment