- Add Python/FastAPI backend with Celery workers - Add video generation with FFmpeg (spinning record animation) - Add API endpoints: submissions, status polling, webhook, results - Add database schema and Alembic migrations - Update frontend pages with API integration - Add project documentation and spec Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
861 B
Text
31 lines
861 B
Text
# PAH Backend Environment Variables
|
|
|
|
# Required - Sonauto API
|
|
SONAUTO_API_KEY=your_sonauto_api_key_here
|
|
WEBHOOK_BASE_URL=https://your-domain.com
|
|
|
|
# Optional - Database (defaults shown)
|
|
DATABASE_URL=postgresql://pah:pah_password@localhost:5432/pah
|
|
|
|
# Optional - Redis (defaults shown)
|
|
REDIS_URL=redis://localhost:6379/0
|
|
CELERY_BROKER_URL=redis://localhost:6379/0
|
|
CELERY_RESULT_BACKEND=redis://localhost:6379/0
|
|
|
|
# Optional - Rate Limiting (defaults shown)
|
|
MAX_CONCURRENT_REQUESTS=10
|
|
MAX_RETRIES=3
|
|
FORM_SUBMIT_RETRY=10
|
|
|
|
# Optional - Timeouts (defaults shown)
|
|
WEBHOOK_TIMEOUT_MINUTES=10
|
|
API_REQUEST_TIMEOUT_SECONDS=30
|
|
|
|
# Optional - Storage (defaults shown)
|
|
STORAGE_BASE=../storage
|
|
|
|
# Optional - Data Retention (defaults shown)
|
|
FILE_RETENTION_DAYS=30
|
|
|
|
# Optional - CORS Origins (comma-separated, defaults shown)
|
|
# CORS_ORIGINS=http://localhost,http://localhost:8000
|