Attempt using async workers to fix #72
This commit is contained in:
parent
acfbb513de
commit
59e68ae771
@ -22,7 +22,7 @@ services:
|
||||
- /containers/map/gunicorn.sock:/app/gunicorn.sock
|
||||
env_file:
|
||||
- ./environment
|
||||
command: /bin/sh -c "DEBUG=1 python3 manage.py collectstatic --noinput && python3 manage.py compilemessages && python3 manage.py migrate && gunicorn --bind 0.0.0.0:8000 ojusomap.wsgi"
|
||||
command: /bin/sh -c "DEBUG=1 python3 manage.py collectstatic --noinput && python3 manage.py compilemessages && python3 manage.py migrate && gunicorn --bind 0.0.0.0:8000 --worker-class gevent ojusomap.wsgi"
|
||||
|
||||
db:
|
||||
restart: always
|
||||
|
@ -25,7 +25,8 @@ django-registration-redux==1.6
|
||||
django-storages==1.6.5
|
||||
djangorestframework==3.6.3
|
||||
djangorestframework-gis==0.11.2
|
||||
gunicorn==19.7.1
|
||||
gunicorn==19.9.0
|
||||
gevent>=0.13
|
||||
olefile==0.44
|
||||
packaging==16.8
|
||||
Pillow==4.1.1
|
||||
|
Loading…
Reference in New Issue
Block a user