Skip to content
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.

mgebundy/docker-mongo-connector

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 7 commits ahead of yeasy:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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]

About

pipeline from a MongoDB cluster to other systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%