-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmongod.conf
55 lines (40 loc) · 1.1 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
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# network interfaces and SSL/TLS configuration
net:
port: 27017
bindIp: 0.0.0.0
tls:
mode: requireTLS
disabledProtocols: TLS1_0,TLS1_1
allowConnectionsWithoutCertificates: true
# Set the below options to your cert file names, or just rename your certs
certificateKeyFile: /data/certificates/mongodb.pem
CAFile: /data/certificates/rootCA.pem
# Where and how to store data.
storage:
dbPath: /data/db
journal:
enabled: true
# engine:
# mmapv1:
# wiredTiger:
# where to write logging data.
systemLog:
#destination: file # if we don't specify this value, mongod logs to stdout
#path: /var/log/mongodb/mongod.log # we have to omit this as well or mongod won't start
logAppend: true
# how the process runs
processManagement:
timeZoneInfo: /usr/share/zoneinfo
#security:
#operationProfiling:
#replication:
#sharding:
## Enterprise-Only Options:
#auditLog:
#snmp:
########### Custom configuration ###########
security:
authorization: "enabled"