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

11 lines
429 B
Plaintext
Raw Normal View History

release: python manage.py migrate
2021-03-03 01:50:28 +03:00
{%- if cookiecutter.use_async == "y" -%}
web: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker
{%- else %}
web: gunicorn config.wsgi:application
{%- endif %}
2021-03-03 01:50:28 +03:00
{%- 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
2015-12-12 10:10:08 +03:00
{%- endif %}