Connect mongo to Elasticsearch 5 with mongo-connector
100K+
Docker images for the mongo-connector.
Based on yeasy/docker-mongo-connector.
Docker image with mongo-connector installed. The image is built based on Python 3.5.2.
The docker image is auto built at https://registry.hub.docker.com/u/mgebundy/docker-mongo-connector/.
FROM mgebundy/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. Make sure they're in the same Docker network.
$ docker run -d mgebundy/docker-mongo-connector
It will connect the two containers together to sync data between each other.
The image is based on official python:3.5.2.
Config timezone to Asia/Shanghai.
Install the mongo-connector[elastic5]
Content type
Image
Digest
Size
256.5 MB
Last updated
almost 10 years ago
docker pull mgebundy/docker-mongo-connector