forked from petbattle/pet-battle-api
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmongod.conf
33 lines (26 loc) · 880 Bytes
/
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
##
## For list of options visit:
## https://docs.mongodb.org/manual/reference/configuration-options/
##
# systemLog Options - How to do logging
systemLog:
# Runs the mongod in a quiet mode that attempts to limit the amount of output
quiet: true
# net Options - Network interfaces settings
net:
# Specify port number (27017 by default)
port: 27017
# Specify on which interfaces start listening
bindIp: "0.0.0.0"
# tuning
serviceExecutor: adaptive
# storage Options - How and Where to store data
storage:
# Directory for datafiles (defaults to /data/db/)
dbPath: /var/lib/mongodb/data
# replication Options - Configures replication
replication:
# Specifies a maximum size in megabytes for the replication operation log (i.e. the oplog,
# 5% of disk space by default)
oplogSizeMB: 64
storage.wiredTiger.engineConfig.configString: cache_size=600M