2019-03-12 00:05:31 +03:00
|
|
|
release: python manage.py migrate
|
2021-03-03 01:50:28 +03:00
|
|
|
{%- if cookiecutter.use_async == "y" -%}
|
2020-04-13 17:57:42 +03:00
|
|
|
web: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker
|
|
|
|
{%- else %}
|
2015-04-24 15:12:34 +03:00
|
|
|
web: gunicorn config.wsgi:application
|
2020-04-13 17:57:42 +03:00
|
|
|
{%- endif %}
|
2021-03-03 01:50:28 +03:00
|
|
|
{%- if cookiecutter.use_celery == "y" -%}
|
2019-04-02 17:26:55 +03:00
|
|
|
worker: celery worker --app=config.celery_app --loglevel=info
|
2020-03-03 21:56:18 +03:00
|
|
|
beat: celery beat --app=config.celery_app --loglevel=info
|
2015-12-12 10:10:08 +03:00
|
|
|
{%- endif %}
|