MongoDB
metadata fields
Example:configs/config_mongo.json
Field | Required | Description |
---|---|---|
mongoHost | Y | MongoDB server address, such as localhost:27017 |
username | N | specify username |
mongoPassword | N | specify password |
databaseName | N | MongoDB database name |
collecttionName | N | MongoDB collection name |
params | N | custom 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