summaryrefslogtreecommitdiffstats
path: root/system/mongodb/files/mongodb.conf
diff options
context:
space:
mode:
Diffstat (limited to 'system/mongodb/files/mongodb.conf')
-rw-r--r--system/mongodb/files/mongodb.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/system/mongodb/files/mongodb.conf b/system/mongodb/files/mongodb.conf
new file mode 100644
index 0000000000..83b4cc0589
--- /dev/null
+++ b/system/mongodb/files/mongodb.conf
@@ -0,0 +1,34 @@
+# !! IMPORTANT !!
+#
+# This file uses the YAML format as described in the documentation:
+# http://docs.mongodb.org/manual/reference/configuration-options/
+
+storage:
+ dbPath: "/var/lib/mongodb"
+ #engine: wiredTiger
+
+systemLog:
+ destination: file
+ path: "/var/log/mongodb/mongodb.log"
+ quiet: true
+ logAppend: true
+
+net:
+ port: 27017
+ bindIp: 127.0.0.1
+ #ssl:
+ # mode: disabled
+
+#security:
+ #keyFile:
+ #clusterAuthMode:
+
+#replication:
+ #replSetName:
+
+# Specifies one of the MongoDB parameters described here:
+# http://docs.mongodb.org/manual/reference/parameters/
+#
+# You can specify multiple setParameter fields such as:
+# setParameter: {enableTestCommands: 1}
+#setParameter: