19 lines
505 B
Python
19 lines
505 B
Python
"""gunicorn-Konfiguration für CheckPoint Ehrenamt.
|
||
|
||
Start (über systemd, siehe deploy/checkpoint.service):
|
||
gunicorn -c gunicorn.conf.py wsgi:app
|
||
"""
|
||
|
||
# Nur lokal lauschen – nginx ist der öffentliche Eingang (Reverse Proxy).
|
||
bind = "0.0.0.0:8000"
|
||
|
||
# Klein halten: 17 Nutzer, ein VPS. Mehrere Worker sind dank SQLite-WAL ok.
|
||
workers = 3
|
||
threads = 2
|
||
worker_class = "gthread"
|
||
timeout = 60
|
||
|
||
# Logs an stdout/stderr → systemd/journald fängt sie auf.
|
||
accesslog = "-"
|
||
errorlog = "-"
|
||
loglevel = "info"
|