Flask with celery task queue that does long processing job in the background
The folder task-queue contains the local for whatever task is needed. The ideal is that if it's possible, remove the logic away from the app, then within the app we can return whatever is tied to each model.
Using docker for everything
docker-compose up
Will spin up redis, flask app, worker and monitor containers
http://localhost:5000/ contains the web app
Celery with redis broker to do async processing
to scale workers up
docker-compose up -d --scale worker=5 --no-recreate