# --- Core worker ---
DATABASE_URL=postgresql://user:password@db:5432/muzick   # Postgres connection string
REDIS_URL=redis://redis:6379                              # Redis (BullMQ) connection string
MUSIC_DIR=/music                                          # Root music library path scanned by the worker
INTEGRITY_SWEEP_CRON=0 3 * * *                            # Cron for the periodic integrity sweep

# --- External enrichment integrations ---
MUSICBRAINZ_CONTACT=you@example.com                       # Contact (email/URL) for the required MusicBrainz User-Agent
LASTFM_API_KEY=your-lastfm-api-key                        # Last.fm API key (enrichment is disabled if empty)
LASTFM_SHARED_SECRET=your-lastfm-shared-secret            # Last.fm shared secret (optional; only for authenticated calls)
DISCOGS_TOKEN=your-discogs-token                          # Discogs personal access token (enrichment is disabled if empty)

# --- Cleanup sweep (dislike lifecycle) ---
CLEANUP_SWEEP_CRON=0 */6 * * *                           # Cron for the dislike grace-period cleanup sweep
NTFY_URL=https://ntfy.sh                                  # ntfy server base URL (leave empty to disable notifications)
NTFY_TOPIC=muzick                                         # ntfy topic to publish deletion warnings to
