mirror of
https://codeberg.org/diginaut/digimarks.git
synced 2026-03-22 04:10:49 +01:00
Updated example configuration files
This commit is contained in:
14
example_config/gunicorn_digimarks_conf.py
Normal file
14
example_config/gunicorn_digimarks_conf.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# gunicorn_conf.py
|
||||
from multiprocessing import cpu_count
|
||||
|
||||
bind = "127.0.0.1:8890"
|
||||
|
||||
# Worker Options
|
||||
#workers = cpu_count() + 1
|
||||
workers = 1
|
||||
worker_class = 'uvicorn.workers.UvicornWorker'
|
||||
|
||||
# Logging Options
|
||||
loglevel = 'debug'
|
||||
accesslog = '/var/log/digimarks/access_log'
|
||||
errorlog = '/var/log/digimarks/error_log'
|
||||
Reference in New Issue
Block a user