cookiecutter-django/{{cookiecutter.project_slug}}/Procfile
Fábio C. Barrionuevo da Luz 0aca0a8782
Define REMAP_SIGTERM=SIGQUIT on Profile of Celery
on Heroku
2021-07-08 19:29:25 -03:00

11 lines
429 B
Plaintext

release: python manage.py migrate
{%- if cookiecutter.use_async == "y" -%}
web: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker
{%- else %}
web: gunicorn config.wsgi:application
{%- endif %}
{%- if cookiecutter.use_celery == "y" -%}
worker: REMAP_SIGTERM=SIGQUIT celery worker --app=config.celery_app --loglevel=info
beat: REMAP_SIGTERM=SIGQUIT celery beat --app=config.celery_app --loglevel=info
{%- endif %}