Skip to content

Instantly share code, notes, and snippets.

@rdegges
Created December 18, 2011 04:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rdegges/1492375 to your computer and use it in GitHub Desktop.
Save rdegges/1492375 to your computer and use it in GitHub Desktop.
Heroku Procfile
web: python project/manage.py run_gunicorn -b "0.0.0.0:$PORT" -w 3
--max-requests 1000 --log-level info --settings=settings.prod
scheduler: python project/manage.py celeryd -B -E --maxtasksperchild=1000
--settings=settings.prod
worker: python project/manage.py celeryd -E --maxtasksperchild=1000
--settings=settings.prod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment