fix: deployment — resolve dependency conflicts, add initial migration, CI/CD webhook

- Fix httpx/pydantic/redis version conflicts for litellm/aiogram/celery compatibility
- Add PYTHONPATH=/app to Dockerfile for alembic module resolution
- Skip Telegram webhook setup when URL is not HTTPS
- Fix FileUpload prop type mismatch in RecordingsPage
- Add alembic script.py.mako template and initial migration
- Configure docker-compose: port 8081, built frontend, no exposed internal ports
- Add deploy.sh and webhook-server.js for Gitea CI/CD auto-deploy

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Admin
2026-04-07 13:49:12 +05:00
parent d2ef7785a4
commit 3e15f643d6
9 changed files with 216 additions and 16 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export default function RecordingsPage() {
<h1 className="text-2xl font-bold">Записи</h1>
</div>
<div className="mb-6 bg-white p-4 rounded-lg shadow-sm">
<FileUpload onUpload={upload} isUploading={isUploading} />
<FileUpload onUpload={(file, title) => upload({ file, title })} isUploading={isUploading} />
</div>
{isLoading ? (
<p>Загрузка...</p>