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
+4 -4
View File
@@ -10,7 +10,7 @@ psycopg2-binary==2.9.10
alembic==1.14.1
# Validation
pydantic==2.10.4
pydantic>=2.7.0,<2.10
pydantic-settings==2.7.1
# Auth
@@ -19,7 +19,7 @@ python-jose[cryptography]==3.3.0
# Task queue
celery[redis]==5.4.0
redis==5.2.1
redis==4.6.0
# AI/ML
faster-whisper==1.1.0
@@ -36,10 +36,10 @@ markdown==3.7
# Utils
ffmpeg-python==0.2.0
httpx==0.28.1
httpx>=0.23.0,<0.28.0
aiofiles==24.1.0
# Testing
pytest==8.3.4
pytest-asyncio==0.25.0
httpx==0.28.1
httpx>=0.23.0,<0.28.0