2017-11-16 21:10:21 +01:00
|
|
|
[uwsgi]
|
|
|
|
# Who will run the code
|
2020-01-10 11:47:09 +01:00
|
|
|
uid = __APP__
|
|
|
|
gid = __APP__
|
2017-11-16 21:10:21 +01:00
|
|
|
|
|
|
|
# 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
|
2024-01-30 15:32:09 +01:00
|
|
|
mount = __PATH__=pgAdmin4.py
|
2017-11-16 21:10:21 +01:00
|
|
|
|
|
|
|
# Virtualenv and python path
|
2024-01-30 16:06:46 +01:00
|
|
|
virtualenv = __INSTALL_DIR__/venv
|
|
|
|
pythonpath = __INSTALL_DIR__/venv
|
2024-01-30 15:32:09 +01:00
|
|
|
chdir = __INSTALL_DIR__/venv/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
|