mirror of
https://github.com/silverstone1903/autocomplete-search-fastapi-es-kibana.git
synced 2022-03-07 18:31:58 +03:00
master
Turkish Movie Search Engine
Code contains a template for using FastAPI backend with Elasticsearch & Kibana.
Data source: Turkish Movie Sentiment Analysis Dataset
- I just selected unique movie names.
Installation
There are only two prerequisites:
git clone https://github.com/silverstone1903/autocomplete-search-fastapi-es-kibana
Usage
Start
docker-compose up -d
If you make any changes you can add --build.
docker-compose up --build -d
Stopping containers
docker-compose down
Container Logs
When running containers with detached mode (-d) they work in the background thus you can't see the flowing logs. If you want to check compose logs with cli you can use logs.
docker-compose logs --tail 50
- FastAPI (UI): http://localhost:8000
- Elasticsearch: http://localhost:9200
- Kibana: http://localhost:5601
Tests
If you want to run the tests inside the container;
docker-compose exec web pytest tests -sv
Sources
Description
Languages
Python
63.4%
HTML
33.8%
Dockerfile
2.8%




