This is a barebones celery setup. Includes:
- A task running on default queue, a task running on a different queue (
worker/task.py
) - Beat schedule (
worker/schedule.py
) - Celery app instance (
worker/app.py
) that imports the tasks and schedule - Makefile entrypoint for starting worker, beat, flower
- Alpine-based Dockerfile
- Docker Compose file to build and run the setup locally
- Docker
- Docker Compose (preinstalled w/ Docker for Mac)
# Build image
make build
# Start app
make run-local