Mongo Connector (Elasticsearch 5)
Docker images for the mongo-connector.
Based on yeasy/docker-mongo-connector
.
Supported tags and respective Dockerfile links
What is docker-mongo-connector?
Docker image with mongo-connector installed. The image is built based on Python 3.5.2.
How to use this image?
The docker image is auto built at https://registry.hub.docker.com/u/mgebundy/docker-mongo-connector/.
In Dockerfile
FROM mgebundy/mongo-connector:latest
Local Run
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.
Which image is based on?
The image is based on official python:3.5.2
.
What has been changed?
Config TZ
Config timezone to Asia/Shanghai.
Install mongo-connector
Install the mongo-connector[elastic5]