For a context where health checks are only available via http, e.g. render.com:
- deploy celery as a web service
- add healthchecks that trigger
/
url- celery-healthcheck.py will handle the request
- perform a command that equals to
celery inspect ping -d celery@$HOSTNAME
- Returns 200 or 500 depending on a result
TODO: Contribute it to celery, e.g. something like running celery with: