Merge pull request #3300 from labcodes/issue-3299

Fix Jinja2 break line control on Procfile
This commit is contained in:
Fábio C. Barrionuevo da Luz 2021-08-20 09:57:30 -03:00 committed by GitHub
commit 7575e90349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
release: python manage.py migrate release: python manage.py migrate
{%- if cookiecutter.use_async == "y" -%} {% if cookiecutter.use_async == "y" -%}
web: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker web: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker
{%- else %} {%- else %}
web: gunicorn config.wsgi:application web: gunicorn config.wsgi:application
{%- endif %} {%- endif %}
{%- if cookiecutter.use_celery == "y" -%} {% if cookiecutter.use_celery == "y" -%}
worker: REMAP_SIGTERM=SIGQUIT celery worker --app=config.celery_app --loglevel=info worker: REMAP_SIGTERM=SIGQUIT celery worker --app=config.celery_app --loglevel=info
beat: REMAP_SIGTERM=SIGQUIT celery beat --app=config.celery_app --loglevel=info beat: REMAP_SIGTERM=SIGQUIT celery beat --app=config.celery_app --loglevel=info
{%- endif %} {%- endif %}