Use gunicorn as production runner

This commit is contained in:
Mouse Reeve 2021-01-05 19:28:13 -08:00
parent 0a75c33de4
commit 08cf668233
2 changed files with 2 additions and 1 deletions

View file

@ -35,7 +35,7 @@ services:
web:
build: .
env_file: .env
command: python manage.py runserver 0.0.0.0:8000
command: gunicorn bookwyrm.wsgi:application --bind 0.0.0.0:8000
volumes:
- .:/app
- static_volume:/app/static

View file

@ -4,6 +4,7 @@ Django==3.0.7
django-model-utils==4.0.0
environs==7.2.0
flower==0.9.4
gunicorn==20.0.4
Markdown==3.3.3
Pillow>=7.1.0
psycopg2==2.8.4