Initial production-ready release of OpenCare v1

- 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>
This commit is contained in:
2026-05-05 21:38:03 +02:00
commit efd775706b
28 changed files with 4682 additions and 0 deletions

10
gunicorn.conf.py Normal file
View File

@@ -0,0 +1,10 @@
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"