Image for Mongo2ES: a sync engine for replication between MongoDB and Elasticsearch
218
Important: Make sure to modify the watcher.js script to suit your application
docker build -t <username>/mongo2es .
docker run --name mongo2es -d \
-e ROOT_URL=http://localhost:3001 \
-e MONGO_URL="mongodb://127.0.0.1:27017/dbname?replicaSet=rs" \
-e MONGO_OPLOG_URL=mongodb://127.0.0.1:27017/local \
-e elasticsearchHost="http://127.0.0.1:9200" \
-p 3001:80 \
<username>/mongo2es
**make sure to explicitly set the IP of the box the container is running on if host mapping is not set up
Content type
Image
Digest
Size
-
Last updated
almost 10 years ago
docker pull markmester/mongo2es