跳到主要内容

MongoDB

metadata fields

Example:configs/config_mongo.json

FieldRequiredDescription
mongoHostYMongoDB server address, such as localhost:27017
usernameNspecify username
mongoPasswordNspecify password
databaseNameNMongoDB database name
collecttionNameNMongoDB collection name
paramsNcustom params

How to start MongoDB

If you want to run the mongoDB demo, you need to start a mongoDB server with Docker first.

docker run --name mongoDB -d -p 27017:27017 mongo