Docker images for Celery worker.
A helper docker-compose file is provided to test functionality.
docker-compose up
Define your tasks in a python project:
@worker.task(
name="ping"
)
def ping():
return 'pong'
Docker compose provides an easy way to building all the images with the right context
docker-compose build