mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-04 15:26:48 +00:00
Use gunicorn as production runner
This commit is contained in:
parent
0a75c33de4
commit
08cf668233
2 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@ services:
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
env_file: .env
|
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:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
- static_volume:/app/static
|
- static_volume:/app/static
|
||||||
|
|
|
@ -4,6 +4,7 @@ Django==3.0.7
|
||||||
django-model-utils==4.0.0
|
django-model-utils==4.0.0
|
||||||
environs==7.2.0
|
environs==7.2.0
|
||||||
flower==0.9.4
|
flower==0.9.4
|
||||||
|
gunicorn==20.0.4
|
||||||
Markdown==3.3.3
|
Markdown==3.3.3
|
||||||
Pillow>=7.1.0
|
Pillow>=7.1.0
|
||||||
psycopg2==2.8.4
|
psycopg2==2.8.4
|
||||||
|
|
Loading…
Reference in a new issue