Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Add a Procfile
Browse files Browse the repository at this point in the history
We need this to deploy MapIt as a normal app in our infrastructure.

This file is very similar to the one for Stagecraft:

    alphagov/stagecraft@3eff938

MapIt gets less than 5 requests a second on average, and each request
completes in well under half a second, so 8 workers on each machine is
generous. We need a single machine to be able to handle all production traffic
while we update the database using our current process, so this seems
reasonable.
  • Loading branch information
jennyd committed Jul 22, 2015
1 parent b223cd8 commit b113cd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: ./venv/bin/gunicorn project.wsgi:application --bind 127.0.0.1:3108 --workers 8

0 comments on commit b113cd7

Please sign in to comment.