- Add environment variable configuration for backend and frontend - Backend: DB_POOL_SIZE, JWT_EXPIRE_HOURS, timeout configs, directory paths - Frontend: VITE_API_BASE_URL, VITE_UPLOAD_TIMEOUT, Whisper configs - Create deployment script (scripts/deploy-backend.sh) - Create 1Panel deployment guide (docs/1panel-deployment.md) - Update DEPLOYMENT.md with env var documentation - Create README.md with project overview - Remove obsolete PRD.md, SDD.md, TDD.md (replaced by OpenSpec) - Keep CORS allow_origins=["*"] for Electron EXE distribution 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
70 lines
2.8 KiB
Plaintext
70 lines
2.8 KiB
Plaintext
# =============================================================================
|
|
# Meeting Assistant Backend Configuration
|
|
# Copy this file to .env and fill in your values
|
|
# =============================================================================
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Server Configuration
|
|
# -----------------------------------------------------------------------------
|
|
# Host address to bind (0.0.0.0 for all interfaces)
|
|
BACKEND_HOST=0.0.0.0
|
|
# Port number to listen on
|
|
BACKEND_PORT=8000
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Database Configuration
|
|
# -----------------------------------------------------------------------------
|
|
DB_HOST=mysql.theaken.com
|
|
DB_PORT=33306
|
|
DB_USER=your_username
|
|
DB_PASS=your_password_here
|
|
DB_NAME=your_database
|
|
# Connection pool size (default: 5)
|
|
DB_POOL_SIZE=5
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# External APIs
|
|
# -----------------------------------------------------------------------------
|
|
# Company authentication API endpoint
|
|
AUTH_API_URL=https://pj-auth-api.vercel.app/api/auth/login
|
|
# Dify API base URL
|
|
DIFY_API_URL=https://dify.theaken.com/v1
|
|
# Dify LLM API key (for summarization)
|
|
DIFY_API_KEY=app-xxxxxxxxxxx
|
|
# Dify STT API key (for audio transcription)
|
|
DIFY_STT_API_KEY=app-xxxxxxxxxxx
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Authentication Settings
|
|
# -----------------------------------------------------------------------------
|
|
# Email address with admin privileges
|
|
ADMIN_EMAIL=admin@example.com
|
|
# JWT signing secret (use a strong random string in production)
|
|
JWT_SECRET=your_jwt_secret_here
|
|
# JWT token expiration time in hours (default: 24)
|
|
JWT_EXPIRE_HOURS=24
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Timeout Configuration (in milliseconds)
|
|
# -----------------------------------------------------------------------------
|
|
# File upload timeout (default: 600000 = 10 minutes)
|
|
UPLOAD_TIMEOUT=600000
|
|
# Dify STT transcription timeout per chunk (default: 300000 = 5 minutes)
|
|
DIFY_STT_TIMEOUT=300000
|
|
# Dify LLM processing timeout (default: 120000 = 2 minutes)
|
|
LLM_TIMEOUT=120000
|
|
# Authentication API timeout (default: 30000 = 30 seconds)
|
|
AUTH_TIMEOUT=30000
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# File Configuration
|
|
# -----------------------------------------------------------------------------
|
|
# Template directory path (leave empty for default: ./template)
|
|
# TEMPLATE_DIR=/path/to/templates
|
|
# Record output directory path (leave empty for default: ./record)
|
|
# RECORD_DIR=/path/to/records
|
|
# Maximum upload file size in bytes (default: 524288000 = 500MB)
|
|
MAX_FILE_SIZE=524288000
|
|
# Supported audio formats (comma-separated)
|
|
SUPPORTED_AUDIO_FORMATS=.mp3,.wav,.m4a,.webm,.ogg,.flac,.aac
|