Add Heroku dyno for celery beat

This commit is contained in:
Bruno Alla 2020-03-03 18:56:18 +00:00
parent 9e0b78e703
commit a24a6f337b

View File

@ -2,4 +2,5 @@ release: python manage.py migrate
web: gunicorn config.wsgi:application web: gunicorn config.wsgi:application
{% if cookiecutter.use_celery == "y" -%} {% if cookiecutter.use_celery == "y" -%}
worker: celery worker --app=config.celery_app --loglevel=info worker: celery worker --app=config.celery_app --loglevel=info
beat: celery beat --app=config.celery_app --loglevel=info
{%- endif %} {%- endif %}