Skip to content

jefersonsv/mongo-to-elastic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongo-to-elastic

Sync from Mongodb to Elasticsearch database

Usage

Change both environment variables

git clone https://github.com/jefersonsv/mongo-to-elastic
cd mongo-to-elastic/src/mongo-to-elastic
sudo docker build -t mongo-to-elastic .
sudo docker run --name my-mongo-to-elastic -d \
    -v /var/log/my-mongo-to-elastic/:/app/logs/ \
    -e 'MONGODB=mongodb://simpleuser:simplepassword@127.0.0.1:27017' \
    -e 'ELASTICSEARCH=http://127.0.0.1:9200' \
    mongo-to-elastic

Releases

No releases published

Packages

No packages published