Skip to content

rktejesh/tesseract-ocr-flask-celery-redis-docker-example

Repository files navigation

tesseract-ocr-flask-celery-redis-docker-example

Build & Launch

docker-compose up -d --build

Enable hot code reload

docker-compose -f docker-compose.yml -f docker-compose.development.yml up --build

This will expose the Flask application's endpoints on port 5001, Streamlit application on port 8051 as well as a Flower server for monitoring workers on port 5555

We can also scale easily to add more workers:

docker-compose up -d --scale worker=5 --no-recreate

To shut down:

docker-compose down

To change the endpoints, update the code in api/app.py

Task changes should happen in celery-queue/tasks.py


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published