Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 759 Bytes

README.md

File metadata and controls

35 lines (31 loc) · 759 Bytes

Python Production Server

  • Flask ✅
  • Elasticsearch ✅
  • ElasticAPM ✅
  • MongoDB ✅
  • Redis cache ✅
  • S3 ✅
  • SQL 🚧
  • Docker ✅
  • Logging ✅
  • Config files ✅

Dependencies

  • Flask: 2.0.1
  • Flask_RESTful: 0.3.9
  • Elasticsearch: 7.13.4 (I recommend not using 7.14.x as of now. There are some issues with that version when using with python client.)
  • elastic_apm: 6.4.0
  • ecs_logging: 1.0.1
  • blinker: 1.4 (indirect import. pip install this incase you face any issues with elasticapm dependencies)

How to run

Raw flask server

pip install requirements.txt
python run.py

Docker

docker-compose build
docker-compose up

This will start running the server on localhost:5000

Detailed Readme coming soon...