]> git.pld-linux.org Git - packages/mongodb.git/blame - mongod-default.conf
EA based on v8 (excludes x32)
[packages/mongodb.git] / mongod-default.conf
CommitLineData
cf68c7a9
JK
1# mongod/default.conf
2
3# Where to store the data.
4# each instance should use a separate directory
5dbpath=/var/lib/mongodb
6
7#where to log
8# each instance should use different path
9logpath=/var/log/mongodb/mongodb.log
10
11logappend=true
12
13# port to bind to. should be differen for each instance
14#port = 27017
15
16# Disables write-ahead journaling
17# nojournal = true
18
19# Enables periodic logging of CPU utilization and I/O wait
20#cpu = true
21
22# Turn on/off security. Off is currently the default
23#noauth = true
24#auth = true
25
26# Verbose logging output.
27#verbose = true
28
29# Inspect all client data for validity on receipt (useful for
30# developing drivers)
31#objcheck = true
32
33# Enable db quota management
34#quota = true
35
36# Set oplogging level where n is
37# 0=off (default)
38# 1=W
39# 2=R
40# 3=both
41# 7=W+some reads
42#diaglog = 0
43
44# Ignore query hints
45#nohints = true
46
47# Disable the HTTP interface (Defaults to localhost:28017).
48#nohttpinterface = true
49
50# Turns off server-side scripting. This will result in greatly limited
51# functionality
52#noscripting = true
53
54# Turns off table scans. Any query that would do a table scan fails.
55#notablescan = true
56
57# Disable data file preallocation.
58#noprealloc = true
59
60# Specify .ns file size for new databases.
61# nssize = <size>
62
63# Accout token for Mongo monitoring server.
64#mms-token = <token>
65
66# Server name for Mongo monitoring server.
67#mms-name = <server-name>
68
69# Ping interval for Mongo monitoring server.
70#mms-interval = <seconds>
71
72# Replication Options
73
74# in replica set configuration, specify the name of the replica set
75# replSet = setname
76
77# in master/slave replicated mongo databases (obsolete), specify here whether
78# this is a slave or master
79#slave = true
80#source = master.example.com
81# Slave only: specify a single database to replicate
82#only = master.example.com
83# or
84#master = true
85#source = slave.example.com
86
This page took 0.032797 seconds and 4 git commands to generate.