Merge pull request #487 from mouse-reeve/gunicorn

Use gunicorn as production runner
This commit is contained in:
Mouse Reeve 2021-01-06 10:37:27 -08:00 committed by GitHub
commit 5c24bb6243
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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