-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmongod.conf
64 lines (49 loc) · 1.73 KB
/
mongod.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
#
# Live inside our playspace in /home/variant-server/database
# the "live" symlink should point to the current version of
# the data. A new version might be set some time on a running
# server, and mongod briefly stopped, this link moved, and
# then restart mongod. Also suspend (SIGSTOP) uWSGI at this
# time which will cause web queries to pause seeming like
# they are taking a long time to load, as long as you can do
# the mongo switch fast enough. If you stop nginx then clients
# will get connection refused until nginx is restarted. If you
# kill uWSGI, then nginx will give Bad Gateway returns until
# it is restarted.
storage:
dbPath: /home/variant-server/database/live
# disable journaling, we will typically do a bulk load that either succeeds
# entirely for the dataset, or fails and then we'd start it over again
# from the beginning, not really knowing where to restart it. Journaling
# will just slow down the bulk load.
journal:
enabled: false
# engine: wiredtiger
# mmapv1:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /home/variant-server/database/logs/mongod.log
# network interfaces
net:
port: 27017
# Below produces an annoying warning, so comment out.
# it is the default to listen on all IPs. Really, we
# probably only need to listen to localhost and that
# would be more secure, but it is useful to manage
# mongo from the host rather than inside the container
# bindIp: 0.0.0.0
#processManagement:
#security:
#operationProfiling:
#replication:
#sharding:
## Enterprise-Only Options:
#auditLog:
#snmp: