This commit is contained in:
Mr Chen 2024-05-01 03:36:34 +08:00
parent 7bac4e0a6b
commit 2f005cbadd
2 changed files with 34 additions and 18 deletions

View File

@ -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

View File

@ -1,18 +1,16 @@
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
net:
bindIp: 127.0.0.1
port: 27017
processManagement:
fork: true
pidFilePath: {$SERVER_PATH}/mongodb/mongodb.pid
security:
authorization: disabled
javascriptEnabled: false
storage:
dbPath: {$SERVER_PATH}/mongodb/data
directoryPerDB: true
systemLog:
destination: file
logAppend: true
path: {$SERVER_PATH}/mongodb/logs/mongodb.log