-
Notifications
You must be signed in to change notification settings - Fork 150
全文档【All Docs】详解
Jarrett edited this page Nov 5, 2022
·
1 revision
欢迎您使用全文档
./mongod --dbpath=/data/mongo --logpath=/usr/local/mongodb4/db.log --fork
可以看到在源代码中使用的默认数据库名称和mongoDB数据库的端口
mongodb:
database: ${MONGO_DATABASE:test}
host: ${MONGO_HOST:localhost}
port: ${MONGO_PORT:27017}
threads-allowed-to-block-for-connection-multiplier: 20
connect-timeout: 10000
socket-timeout: 10000
max-wait-time: 5000
connections-per-host: 20
当然也可以按照您的意愿进行调整
暂时无
普通部署方式