FastAPI with Redis task queue

Run

cd myproj_app
docker build -t myproj:latest .
docker-compose -f docker-compose.yml up --scale myproj_worker=1

Post task

curl -v -X POST -H "Content-Type: application/json" -d '{"owner":"foo","description":"bar"}' http://localhost:5057/groups/group1

Scale workers

docker-compose -f docker-compose.yml up --scale myproj_worker=4 --detach