pull/561/head
Mr Chen 1 year ago
parent 7bac4e0a6b
commit 2f005cbadd
  1. 18
      plugins/mongodb/config/mongodb.bak.conf
  2. 34
      plugins/mongodb/config/mongodb.conf

@ -0,0 +1,18 @@
directoryperdb = true
dbpath = {$SERVER_PATH}/mongodb/data
logpath = {$SERVER_PATH}/mongodb/logs/mongodb.log
logappend = true
bind_ip = 127.0.0.1
port = 27017
fork = true
auth = false
#smallfiles = true
oplogSize=100
# Master/slave replication is no longer supported
#master = true
#replSet = test
pidfilepath = {$SERVER_PATH}/mongodb/mongodb.pid

@ -1,18 +1,16 @@
directoryperdb = true net:
dbpath = {$SERVER_PATH}/mongodb/data bindIp: 127.0.0.1
logpath = {$SERVER_PATH}/mongodb/logs/mongodb.log port: 27017
logappend = true processManagement:
bind_ip = 127.0.0.1 fork: true
port = 27017 pidFilePath: {$SERVER_PATH}/mongodb/mongodb.pid
fork = true security:
auth = false authorization: disabled
#smallfiles = true javascriptEnabled: false
storage:
oplogSize=100 dbPath: {$SERVER_PATH}/mongodb/data
directoryPerDB: true
# Master/slave replication is no longer supported systemLog:
#master = true destination: file
logAppend: true
#replSet = test path: {$SERVER_PATH}/mongodb/logs/mongodb.log
pidfilepath = {$SERVER_PATH}/mongodb/mongodb.pid
Loading…
Cancel
Save