cookiecutter-django/{{cookiecutter.project_slug}}/Procfile

11 lines
419 B
Plaintext
Raw Permalink Normal View History

release: python manage.py migrate
2021-11-29 14:16:05 +03:00
{%- if cookiecutter.use_async == "y" %}
web: gunicorn config.asgi:application -k uvicorn_worker.UvicornWorker
{%- else %}
web: gunicorn config.wsgi:application
{%- endif %}
2021-11-29 14:16:05 +03:00
{%- if cookiecutter.use_celery == "y" %}
2021-09-03 21:17:23 +03:00
worker: REMAP_SIGTERM=SIGQUIT celery -A config.celery_app worker --loglevel=info
beat: REMAP_SIGTERM=SIGQUIT celery -A config.celery_app beat --loglevel=info
2015-12-12 10:10:08 +03:00
{%- endif %}