添加 mongodb 目录,设置 pacakge.json 中的相关 script
This commit is contained in:
10
mongodb/mongod.conf
Normal file
10
mongodb/mongod.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
processManagement:
|
||||
fork: true
|
||||
net:
|
||||
port: 6842
|
||||
bindIpAll: true
|
||||
security:
|
||||
javascriptEnabled: true
|
||||
systemLog:
|
||||
path: /data/log/mongo.log #日志路径。
|
||||
destination: file #日志输出方式。file/syslog,如果是file,需指定path,默认是输出到标准输出流中
|
||||
Reference in New Issue
Block a user