You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
484 B
25 lines
484 B
# mongo.conf
|
|
smallfiles=true
|
|
|
|
#where to log
|
|
logpath=/var/log/mongo/mongod-{{ inventory_hostname }}.log
|
|
|
|
logappend=true
|
|
|
|
# fork and run in background
|
|
fork = true
|
|
|
|
port = {{ mongod_port }}
|
|
|
|
dbpath={{ mongodb_datadir_prefix }}mongo-{{ inventory_hostname }}
|
|
keyFile={{ mongodb_datadir_prefix }}/secret
|
|
|
|
# location of pidfile
|
|
pidfilepath = /var/run/mongod.pid
|
|
|
|
|
|
# Ping interval for Mongo monitoring server.
|
|
#mms-interval = <seconds>
|
|
|
|
# Replication Options
|
|
replSet={{ inventory_hostname }}
|
|
|