mirror of
https://codeberg.org/diginaut/digimarks.git
synced 2026-03-22 07:30:49 +01:00
15 lines
310 B
Python
15 lines
310 B
Python
# 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'
|