mirror of
https://github.com/wahyd4/you-music.git
synced 2026-08-08 20:59:47 +10:00
36 lines
905 B
Bash
36 lines
905 B
Bash
# YouMusic Environment Configuration
|
|
|
|
# Database Configuration
|
|
# Choose: "sqlite" or "postgres"
|
|
DB_TYPE=postgres
|
|
|
|
# SQLite Configuration (when DB_TYPE=sqlite)
|
|
# Optional: If not set, defaults to sqlite+aiosqlite:///./data/youmusic.db
|
|
# DATABASE_URL=sqlite+aiosqlite:///./data/youmusic.db
|
|
|
|
# PostgreSQL Configuration (when DB_TYPE=postgres)
|
|
# DB_POSTGRES_HOST=localhost
|
|
# DB_POSTGRES_PORT=5432
|
|
# DB_POSTGRES_DATABASE=you_music
|
|
# DB_POSTGRES_USER=youmusic
|
|
# DB_POSTGRES_PASSWORD=your_password_here
|
|
|
|
# Application Directories
|
|
# MUSIC_DIR=./data/music
|
|
# LOCAL_MUSIC_DIR=/path/to/your/local/music
|
|
# UPLOAD_DIR=./data/uploads
|
|
# TEMP_DIR=./data/temp
|
|
# CACHE_DIR=./data/cache
|
|
|
|
# Download Settings
|
|
# FFMPEG_LOCATION=/usr/local/bin/ffmpeg
|
|
# PROXY=http://proxy:port
|
|
|
|
# Scanner Settings
|
|
# SCAN_INTERVAL=3600
|
|
# DELETE_MISSING_FILES=false
|
|
# AUTO_SCAN_ENABLED=true
|
|
|
|
# Share Link Settings
|
|
# SHARE_LINK_EXPIRATION_DAYS=14
|