changes for docker deployment
This commit is contained in:
25
bak/uwsgi.ini.back
Normal file
25
bak/uwsgi.ini.back
Normal 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
|
||||
Reference in New Issue
Block a user