Add libffi to all Postorius images. (#320)

* Add libffi to all Postorius images.

* Use Django less than a certain version.

* Fix the version constraint.

* Fix uwsgi configuration by using only processes.
This commit is contained in:
Abhilash Raj
2019-04-13 21:04:42 -07:00
committed by GitHub
parent a7832b00f1
commit 423d9cbf03
7 changed files with 18 additions and 23 deletions

View File

@@ -3,9 +3,6 @@
uwsgi-socket = 0.0.0.0:8080
http-socket = 0.0.0.0:8000
#Enable threading for python
enable-threads = true
# Move to the directory wher the django files are.
chdir = /opt/mailman-web
@@ -14,8 +11,7 @@ wsgi-file = wsgi.py
# Setup default number of processes and threads per process.
master = true
process = 2
threads = 2
process = 4
# Drop privielges and don't run as root.
uid = mailman