diff options
Diffstat (limited to 'config/gunicorn_config.py')
-rw-r--r-- | config/gunicorn_config.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/gunicorn_config.py b/config/gunicorn_config.py new file mode 100644 index 0000000..d918946 --- /dev/null +++ b/config/gunicorn_config.py @@ -0,0 +1,9 @@ +from os.path import dirname, abspath,join +PROJ_ROOT = abspath(dirname(dirname(dirname(__file__))))+'/' +command = join(PROJ_ROOT, "/venv/bin/gunicorn") +pythonpath = PROJ_ROOT +bind = '127.0.0.1:8001' +workers = 3 +log_level = "warning" +error_logfile = "/home/luxagraf/logs/origin.gunicorn.error.log" + |