update mongodb settings

This commit is contained in:
Luk Lu
2019-10-03 14:06:47 +08:00
parent 48b1bd57b5
commit 2b81d11aa0
2 changed files with 3 additions and 3 deletions

11
mongod.conf Normal file
View File

@@ -0,0 +1,11 @@
processManagement:
fork: true
net:
port: 6842
bindIpAll: true
security:
javascriptEnabled: true
authorization: enabled
systemLog:
path: /data/log/mongo.log #日志路径。
destination: file #日志输出方式。file/syslog,如果是file需指定path默认是输出到标准输出流中