mongo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
466 B

systemLog:
destination: file
path: "/var/log/mongodb/mongod.log"
logAppend: true
storage:
dbPath: "/data/db"
journal:
enabled: true
#processManagement:
# fork: true
net:
port: 27017
#bindIp: 127.0.0.1 # Listen to local interface only, comment to listen on all interfaces.
bindIpAll: true
replication:
replSetName: "replica01"
setParameter:
enableLocalhostAuthBypass: false
security:
authorization: enabled
keyFile: "/data/mongo.key"