45 lines
702 B
Django/Jinja
45 lines
702 B
Django/Jinja
# 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:
|