Skip to content

davidefiocco/dockerized-elasticsearch-indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerized-elasticsearch-indexer

Example showing how to index an Elasticsearch db using the Python client within a Docker container, as in https://stackoverflow.com/questions/48711455/create-dockerized-elasticsearch-index-using-a-python-script-running-in-docker/48712414#48712414 starting from a jsonl file contained in the indexer folder.

A Kibana container is added to navigate the indexed dataset. The index is accessible at http://localhost:9200/test and Kibana can be opened at http://localhost:5601.

Run with:

docker-compose build
docker-compose up

Troubleshooting

Check docker-library/elasticsearch#111 in case of troubles in the logs with vm.max_map_count.