mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-15 04:36:34 +00:00
Merge pull request #487 from mouse-reeve/gunicorn
Use gunicorn as production runner
This commit is contained in:
commit
5c24bb6243
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue