ansible-roles/mongodb-org-3/templates/mongod-3.0.conf.j2

45 lines
702 B
Plaintext
Raw Normal View History

2015-12-16 14:56:14 +01:00
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: {{ mongodb_dbpath }}
journal:
enabled: true
engine: wiredTiger
# mmapv1:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: {{ mongodb_logpath }}
# network interfaces
net:
port: {{ mongodb_tcp_port }}
# bindIp: 127.0.0.1
#processManagement:
security:
keyFile: /data/mongo_home/dev-d4science-keyfile
#operationProfiling:
replication:
oplogSizeMB: 2000
replSetName: {{ mongodb_replicaset }}
#sharding:
## Enterprise-Only Options:
#auditLog:
#snmp: