- Flask/SQLAlchemy app with profile, dashboard, recommendations - AI crawl pipeline (GPT-4o) with admin review workflow - 14 curated health sources (RSS + index crawling) - Production config: env vars, Gunicorn, systemd, nginx - deploy/ scripts for VPS setup and updates Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
317 B
Python
11 lines
317 B
Python
import os
|
|
|
|
bind = f"0.0.0.0:{os.environ.get('PORT', '5000')}"
|
|
workers = 1 # 1 worker = APScheduler tourne une seule fois (SQLite-safe)
|
|
threads = 4 # Multi-thread dans le worker unique
|
|
preload_app = True # Charge l'app avant de forker
|
|
timeout = 120
|
|
accesslog = "-"
|
|
errorlog = "-"
|
|
loglevel = "info"
|