A simple docker-compose app for orchestrating a fastapi application, a celery queue with rabbitmq(broker) and redis(backend)

A simple docker-compose app for orchestrating a fastapi application, a celery queue with rabbitmq(broker) and redis(backend)

build and run containers

docker-compose up -d --build

This will expose fastapi application on 5000 and celery flower on 5555

swagger docs – http://localhost:5000/

redoc – http://localhost:5000/redoc

celery flower – http://localhost:5555

GitHub

https://github.com/karthikasasanka/fastapi-celery-redis-rabbitmq

 

 

 

To finish reading, please visit source site