changes for docker deployment

This commit is contained in:
www
2020-09-22 19:18:58 +00:00
parent 58c22cd3c8
commit 9c0009a2c4
11 changed files with 121 additions and 79 deletions

25
bak/uwsgi.ini.back Normal file
View File

@@ -0,0 +1,25 @@
[uwsgi]
# User and group www-data on debian
uid = 33
gid = 33
master = true
# No. of processes can be increased
processes = 9
chown-socket =www-data:www-data
virtualenv = /opt/venv
pythonpath = /srv/flask-fet-fotos/
#pidfile = /srv/simple_sample_flat_index/uwsgi.pid
#socket = /srv/simple_sample_flat_index/uwsgi.sock
pidfile=/var/run/fet_fotos.pid
socket = /var/run/fet_fotos.sock
chmod-socket = 666
module = foto_gallery
callable= app
wsgi-file = run.py
logdate = true
loglevel = debug
gevent = 100
vacuum=true
plugins=python3,logfile
py-autoreload=2