Provides a docker-mongo-connector, for automated synchronisation between elasticsearch2 and mongo db
397
Docker images for the mongo-connector.
For more information about this image and its history, please see the relevant manifest file in the berlinguyinca/docker-mongo-connector GitHub repo.
Docker image with mongo-connector installed. The image is built based on Python 3.4.3.
The docker image is auto built at https://registry.hub.docker.com/u/berlinguyinca/mongo-connector/.
FROM berlinguyinca/mongo-connector:latest
By default, it will connect mongo node ($MONGO or the mongo host, on port $MONGOPORT or 27017) and elasticsearch node ($ELASTICSEARCH or the elasticsearch host, on port $ELASTICPORT or 9200).
Boot two containers with name mongo (config to cluster) and elasticsearch.
$ docker run -d --link=mongo:mongo --link=elasticsearch:elasticsearch yeasy/mongo-connector
It will connect the two containers together to sync data between each other.
The image is based on official python:3.4.3.
Config timezone to Asia/Shanghai.
Install the mongo-connector:2.1.
This image is officially supported on Docker version 1.7.1.
Support for older versions (down to 1.0) is provided on a best-effort basis.
Be sure to familiarize yourself with the repository's README.md file before attempting a pull request.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You can also reach many of the official image maintainers via the email.
This project based on from yeasy's fantastic work and extended by supporting elastic search 2. Thank you easy for all your great work!
Content type
Image
Digest
Size
263.9 MB
Last updated
about 10 years ago
docker pull berlinguyinca/docker-mongo-connector