feat: MedSchedule модуль — семейный медицинский помощник с Telegram/MAX ботом, n8n OCR и /med UI

This commit is contained in:
2026-07-15 09:42:55 +03:00
parent d35d0cd1ef
commit f519ce95db
15 changed files with 2960 additions and 2 deletions

View File

@@ -103,6 +103,25 @@ DATABASE_URL=postgresql://user:password@host/dbname?sslmode=require
# Public URL of CRM itself — used for presigned document URLs
# APP_URL=https://iistwin.ru
# =============================================
# MedSchedule bot settings (optional)
# =============================================
# Telegram bot token for MedSchedule personal/family health assistant
# TELEGRAM_BOT_TOKEN=your-telegram-bot-token
# Secret token for validating Telegram webhook requests
# TELEGRAM_BOT_WEBHOOK_SECRET=your-telegram-webhook-secret
# MAX bot token and base URL (optional)
# MAX_BOT_TOKEN=your-max-bot-token
# MAX_BOT_API_BASE=https://api.max.ru/bot
# Secret token for validating MAX webhook requests
# MAX_BOT_WEBHOOK_SECRET=your-max-webhook-secret
# n8n webhook URL for MedSchedule OCR (medical scan analysis)
# IMPORTANT: iistwin must reach n8n via the internal Docker network URL.
# External /webhook and /n8n/webhook paths are NOT exposed for webhooks.
# MED_N8N_OCR_WEBHOOK_URL=http://n8n:5678/webhook/972a1fce-c84c-49f6-bc04-7bd838b61acc/med-ocr
# =============================================
# Document Worker (optional — for PDF/DOCX generation)
# =============================================