Example of how to handle background processes with Flask, Redis Queue, and Docker
Spin up the containers:
$ docker-compose up -d --build
Open your browser to http://localhost:5004 to see the Flask app and add tasks. Open your browser to http://localhost:8899 to see the the RQ Monitor dashboard.