Raphael Maenle
15e68b88e8
- uses existing wsgi.py file - adds wsgi.ini file - sets socket - defines application to be run, which it gets from wsgi.py file - uses http communication to nginx server - some random number of workers - updates Dockerfile and docker-entrypoint
14 lines
190 B
INI
14 lines
190 B
INI
# uwsgi --socket 0.0.0.0:8084 -w wsgi:application --protocol=http
|
|
|
|
[uwsgi]
|
|
module = wsgi:application
|
|
protocol = http
|
|
master = true
|
|
processes = 5
|
|
|
|
socket = 0.0.0.0:8084
|
|
|
|
die-on-term = true
|
|
|
|
|