Initial commit
This commit is contained in:
1
roles/configure_mongo/files/99-swappiness.conf
Normal file
1
roles/configure_mongo/files/99-swappiness.conf
Normal file
@@ -0,0 +1 @@
|
||||
vm.swappiness = 1
|
||||
37
roles/configure_mongo/files/mongodb.conf
Normal file
37
roles/configure_mongo/files/mongodb.conf
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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
|
||||
# engine:
|
||||
# wiredTiger:
|
||||
|
||||
# where to write logging data.
|
||||
systemLog:
|
||||
destination: file
|
||||
logAppend: true
|
||||
path: /var/log/mongodb/mongod.log
|
||||
|
||||
# network interfaces
|
||||
net:
|
||||
port: 27017
|
||||
# bindIp: 127.0.0.1
|
||||
bindIp: 0.0.0.0
|
||||
|
||||
# how the process runs
|
||||
processManagement:
|
||||
timeZoneInfo: /usr/share/zoneinfo
|
||||
|
||||
|
||||
#operationProfiling:
|
||||
|
||||
#replication:
|
||||
|
||||
#sharding:
|
||||
|
||||
## Enterprise-Only Options:
|
||||
|
||||
#auditLog:
|
||||
Reference in New Issue
Block a user