#mongodb-datasink
A python micro service for receiving a JSON entity stream from a Sesam service instance and pushing them to MongoDB.
A docker image is provided here: https://hub.docker.com/r/giskou/mongodb-sink/
docker run -it --rm \
--name=mongodb-sink \
--network=<network> \
-p 5001:5001 \
-e MONGODB_HOST=<host> \
-e MONGODB_PORT=<port> \
-e MONGODB_USERNAME=<username> \
-e MONGODB_PASSWORD=<password> \
-e MONGODB_DATABASE=<database> \
giskou/mongodb-sink
The service is running on port 5001 and accepts connections to the following endpoint:
POST /<collection>
collection is the collection to push the data into.
If it does not exist it will be created.
Content type
Image
Digest
Size
30.8 MB
Last updated
almost 10 years ago
docker pull giskou/mongodb-sink