music-app/.env.example
Jarian Cottingham 7e09799859 fix: batch fix all issues
- Add auth middleware (API key) to protect API routes (#5, #7)
- Add WebSocket handlers and cleanup on disconnect (#3, #8)
- Add web Dockerfile (#1)
- Fix memory upload with streaming chunks (#10)
- Move lofi seed to startup, remove per-request seeding (#9)
- Document ffmpeg dependency in README and .env.example (#6)
- Fill in mobile app with API-connected UI (#4)
- Set GENIUS_API_KEY from env var with documentation (#2)
2026-07-05 21:36:59 +00:00

29 lines
794 B
Plaintext

# Music App Environment Configuration
# Database
DATABASE_URL=sqlite:///./app.db
# Music directory for scanning
MUSIC_DIR=./music
# Upload directory
UPLOAD_DIR=./uploads
# Static files directory
STATIC_DIR=./static
# CORS origins (comma-separated)
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# API Key for protecting API routes (set a strong value in production)
API_KEY=your-secret-api-key-here
# Genius API key for lyrics fetching (get one at https://genius.com/api)
GENIUS_API_KEY=your-genius-api-key-here
# System dependencies:
# - ffmpeg: required for audio transcoding (OGG conversion) and metadata extraction
# Ubuntu/Debian: apt-get install ffmpeg
# macOS: brew install ffmpeg
# Windows: choco install ffmpeg or download from https://ffmpeg.org/download.html