- Replace all hardcoded localhost:8000/3000/8501 with environment variables - Frontend: Use API_PORT env var in next.config.ts - Backend: Use API_PORT env var in editor.py and quality.py - Web UI: Use API_PORT and EDITOR_PORT env vars in all Streamlit pages - Update dev.sh to pass environment variables to all services - Add .env.example with port configuration template Now supports custom ports via environment variables: API_PORT=8080 EDITOR_PORT=3001 WEB_PORT=8502 ./dev.sh Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
22 lines
619 B
Plaintext
22 lines
619 B
Plaintext
# Pixelle-Video Environment Configuration
|
|
# Copy this file to .env and customize as needed
|
|
|
|
# ============================================================================
|
|
# Port Configuration
|
|
# ============================================================================
|
|
|
|
# FastAPI Backend Port
|
|
API_PORT=8000
|
|
|
|
# Next.js Editor Port
|
|
EDITOR_PORT=3000
|
|
|
|
# Streamlit Web UI Port
|
|
WEB_PORT=8501
|
|
|
|
# ============================================================================
|
|
# Other Configuration
|
|
# ============================================================================
|
|
|
|
# Add other environment variables here as needed
|