diff options
author | 2018-09-20 22:31:49 +0200 | |
---|---|---|
committer | 2018-09-20 22:32:49 +0200 | |
commit | e53c2c9166f963a3eeff9b53413aaf7c89303ec0 (patch) | |
tree | ee4b876c6019a662c44d7fffe6140eea04a03929 /docker/app | |
parent | Use `uwsgi` instead of `gunicorn`. (diff) |
Add UWSGI configuration.
Diffstat (limited to 'docker/app')
-rw-r--r-- | docker/app/uwsgi.ini | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docker/app/uwsgi.ini b/docker/app/uwsgi.ini index f4160a9a..eb45c9be 100644 --- a/docker/app/uwsgi.ini +++ b/docker/app/uwsgi.ini @@ -1,3 +1,11 @@ [uwsgi] -http = :9090 +# Exposed ports +http = :4000 + +# File settings wsgi = pysite.wsgi:application +chdir = /app + +# Concurrency options +master = true +threads = 4 |