# mongod.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 journal: enabled: true # engine: # mmapv1: # wiredTiger: wiredTiger: engineConfig: cacheSizeGB: 1 # Set WiredTiger cache size to 1 GB # where to write logging data. systemLog: destination: file logAppend: true logRotate: reopen path: /var/log/mongodb/mongod.log # network interfaces net: port: 27001 bindIp: 0.0.0.0 #ExecutionStats operationProfiling: mode: all slowOpThresholdMs: 100 slowOpSampleRate: 1 # how the process runs processManagement: timeZoneInfo: /usr/share/zoneinfo pidFilePath: /var/run/mongodb/mongod.pid security: authorization: "enabled" keyFile: /etc/.mongodb.key replication: replSetName: rs0 #sharding: ## Enterprise-Only Options: #auditLog: #snmp: