chancellorofwonder
How to deploy FastAPI + Celery + Redis
I have a fastapi application currently deployed on railway (ID: 7ed272ed-0bdc-4780-9bc1-4f3c12fc5779) that heavily relies on background tasks to perform time-consuming operations in the background.
I am working to restructure the deployment such that it uses celery for task queues and redis as the broker/backend.
How do I ensure that the celery server, the redis server (using docker image), and the fastapi server all integrate appropriately on the railway deployment?
11 replies