fork of https://github.com/weflex/docker-mongo-connector
1.3K
Docker image for the mongodb-labs/mongo-connector.
Docker image with mongo-connector installed. The image is built based on Python 3.4.3.
There are 2 ways to use this docker
FROM weflex/mongo-connector:latest
By default, the running container will connect:
$MONGO (default: mongo), $MONGO_PORT (27017), $MONGO_USERNAME and $MONGO_PASSWORD$ELASTICSEARCH (default: elasticsearch) and $ELASTICSEARCH_PORT (9200)Or directly run:
$ docker run -d --env=MONGO=localhost --link=elasticsearch:elasticsearch weflex/mongo-connector
docker-compose.ymlelasticsearch:
image: elasticsearch:latest
command: elasticsearch -Des.network.host=0.0.0.0
mongo_connector:
image: weflex/mongo-connector:latest
links:
- elasticsearch:elasticsearch
environment:
- MONGO=endpoint
- MONGO_USERNAME=user
- MONGO_PASSWORD=pass
Asia/Shanghai.mongo-connector:2.1This repository is inspired by yeasy/docker-mongo-connector, Thanks to @yeasy to create the upstream one.
MIT
Content type
Image
Digest
Size
263.6 MB
Last updated
over 10 years ago
docker pull mcuadros/docker-mongo-connector