Based on docku/uwsgi, this is the layer you
want before your python2 application.
Drop your uwsgi <appname>.ini configuration file in /etc/uwsgi/, and enable
it by RUNning systemctl enable uwsgi@<appname>.service and systemctl start <appname>.service.
<appname>.iniShould look something like this:
[uwsgi]
uwsgi-file=/srv/http/mc-voltaire-sh/run.py
chdir=/srv/http/mc-voltaire-sh/
module=app
virtualenv=/srv/http/mc-voltaire-sh/env
callable=app
plugin=python2
enable-threads=true
socket=/run/uwsgi/voltairemc.socket
uid = http
gid = http
Content type
Image
Digest
sha256:2fad33e14…
Size
266 MB
Last updated
almost 11 years ago
docker pull docku/uwsgi-python2