mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-08 20:54:43 +00:00
4 lines
250 B
Text
4 lines
250 B
Text
web: gunicorn config.wsgi:application
|
|
{% if cookiecutter.use_celery == "y" -%}
|
|
worker: {% if cookiecutter.use_newrelic == "y" %}newrelic-admin run-program {% endif %}celery worker --app={{cookiecutter.repo_name}}.taskapp --loglevel=info
|
|
{%- endif %}
|