Example of how to handle background processes with Flask, Redis Queue, and Docker
Build and start the containers with debug logs (not detached):
$ docker-compose up --build
Start the containers with debug logs (detached):
$ docker-compose up -d --build
To view the app go to: http://localhost:5004
To view the dashboard go to: http://localhost:9181