3e15f643d6
- 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>
19 lines
404 B
Bash
19 lines
404 B
Bash
#!/bin/bash
|
|
# Auto-deploy script triggered by Gitea webhook
|
|
set -e
|
|
|
|
DEPLOY_DIR="D:/meeting-protocol-service"
|
|
LOG_FILE="$DEPLOY_DIR/deploy.log"
|
|
|
|
echo "$(date) - Deploy started" >> "$LOG_FILE"
|
|
|
|
cd "$DEPLOY_DIR"
|
|
|
|
# Pull latest changes
|
|
git pull origin main >> "$LOG_FILE" 2>&1
|
|
|
|
# Rebuild and restart services
|
|
docker compose up -d --build >> "$LOG_FILE" 2>&1
|
|
|
|
echo "$(date) - Deploy completed" >> "$LOG_FILE"
|