Skip to content
Back to Templates

Python Celery Starter

Deploy Python Celery workers using Vercel Queues.

celery-dark

Celery + Vercel

This example shows how to use Celery with Vercel Queues and Redis on Vercel with Serverless Functions using the Python Runtime.

Demo

https://vercel-plus-celery.labs.vercel.dev/

How it Works

Celery uses a custom Vercel Queues broker to run tasks in a dedicated worker service. On Vercel, projects containing a Python worker service automatically set CELERY_BROKER_URL to vercel://, so Celery runs on top of Vercel Queues out of the box. Job status and results are stored in Redis, and a FastAPI dashboard lets you queue jobs, watch progress, and inspect results.

Running Locally

npm i -g vercel
vercel dev

Your Celery application is now available at http://localhost:3000.

One-Click Deploy

Deploy the example using Vercel: