Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 722 Bytes

File metadata and controls

15 lines (10 loc) · 722 Bytes

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.