2017-11-16 21:10:21 +01:00
|
|
|
[uwsgi]
|
|
|
|
# Who will run the code
|
|
|
|
uid = __USER__
|
|
|
|
gid = __USER__
|
|
|
|
|
|
|
|
# Number of workers
|
|
|
|
workers = 1
|
|
|
|
|
|
|
|
# The right granted on the created socket
|
|
|
|
chmod-socket = 666
|
|
|
|
|
|
|
|
# Plugin to use and interpretor config
|
|
|
|
single-interpreter = true
|
|
|
|
master = true
|
2018-11-07 19:30:34 +01:00
|
|
|
plugin = python3
|
2017-11-16 21:10:21 +01:00
|
|
|
|
|
|
|
# Manage the subpath
|
|
|
|
manage-script-name = true
|
|
|
|
mount = __PATH__=pgAdmin4.py
|
|
|
|
|
|
|
|
# Virtualenv and python path
|
|
|
|
virtualenv = __FINALPATH__
|
|
|
|
pythonpath = __FINALPATH__
|
2018-11-07 19:30:34 +01:00
|
|
|
chdir = __FINALPATH__/lib/python__PYTHON_VERSION__/site-packages/pgadmin4
|
2017-11-16 21:10:21 +01:00
|
|
|
|
|
|
|
# The variable holding flask application
|
2018-11-07 19:30:34 +01:00
|
|
|
callable = app
|