Skip to content

Commit

Permalink
Update gunicorn settings
Browse files Browse the repository at this point in the history
  • Loading branch information
nbuonin committed Sep 13, 2020
1 parent b7674d2 commit 115936f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ CMD pipenv run ./manage.py collectstatic --noinput --settings=decruck.settings.p
pipenv run ./manage.py migrate --noinput && \
pipenv run ./manage.py sync_page_translation_fields && \
pipenv run ./manage.py update_translation_fields && \
pipenv run gunicorn --bind 0.0.0.0:8000 --workers 1 --forwarded-allow-ips="*" decruck.wsgi:application
pipenv run gunicorn --bind 0.0.0.0:8000 --workers 2 --timeout 90 --forwarded-allow-ips="*" decruck.wsgi:application

0 comments on commit 115936f

Please sign in to comment.