Lidarr
Music collection manager for Usenet and BitTorrent.
Overview
Lidarr is an automated music collection manager that monitors, downloads, and organizes your music library from Usenet and BitTorrent sources. Originally forked from Sonarr in 2017, Lidarr focuses specifically on music acquisition and management, using MusicBrainz database integration to maintain accurate metadata and proper file organization. The application continuously monitors for new releases from your favorite artists and automatically downloads them when they become available through configured indexers.
This Docker stack leverages the LinuxServer.io image to provide a containerized Lidarr instance with proper user permissions and timezone handling. The configuration maps essential directories for music storage and download monitoring, while exposing the web interface on port 8686. The setup allows Lidarr to integrate with download clients like SABnzbd, NZBGet, qBittorrent, or Deluge, and works particularly well when combined with Prowlarr for centralized indexer management.
This stack is ideal for music enthusiasts, audiophiles, and home media server administrators who want to automate their music collection management. The containerized approach ensures consistent deployment across different environments while maintaining proper file permissions and providing easy backup and migration capabilities through Docker volumes.
Key Features
- MusicBrainz integration for accurate artist and album metadata matching
- Automatic monitoring of artist discographies with customizable metadata profiles
- Support for multiple audio quality profiles and format preferences
- Calendar view showing upcoming album releases from monitored artists
- Manual and automatic search capabilities across configured indexers
- Import existing music libraries with duplicate detection and quality upgrading
- Comprehensive activity history and blacklist management for failed downloads
- REST API for integration with mobile apps and third-party tools
Common Use Cases
- 1Home media server automation for personal music collection management
- 2Audiophile setups requiring specific quality profiles and format preferences
- 3Music library organization and cleanup with metadata standardization
- 4Automated monitoring of favorite artists for new album releases
- 5Integration with existing *arr stack ecosystems alongside Sonarr and Radarr
- 6Headless music acquisition for remote servers and NAS devices
- 7Quality upgrading workflows for replacing lower-quality existing files
Prerequisites
- Minimum 512MB RAM allocated to the container for stable operation
- Port 8686 available for web interface access
- Existing download client (SABnzbd, NZBGet, qBittorrent, etc.) configured
- Usenet provider account and/or BitTorrent indexer access for content sources
- Basic understanding of metadata profiles and quality settings
- Sufficient storage space for both downloads and organized music library
For development & testing. Review security settings, change default credentials, and test thoroughly before production use. See Terms
docker-compose.yml
docker-compose.yml
1services: 2 lidarr: 3 image: linuxserver/lidarr:latest4 container_name: lidarr5 restart: unless-stopped6 environment: 7 PUID: 10008 PGID: 10009 TZ: UTC10 volumes: 11 - lidarr_config:/config12 - /path/to/music:/music13 - /path/to/downloads:/downloads14 ports: 15 - "8686:8686"1617volumes: 18 lidarr_config: .env Template
.env
1# Configure your music and download pathsUsage Notes
- 1Docs: https://wiki.servarr.com/lidarr
- 2Access at http://localhost:8686 - no default credentials
- 3Add indexers: Settings > Indexers (or use Prowlarr)
- 4Configure download client: Settings > Download Clients
- 5Add root folder for music library before importing artists
- 6Metadata profiles control what releases to grab (official, unofficial)
Quick Start
terminal
1# 1. Create the compose file2cat > docker-compose.yml << 'EOF'3services:4 lidarr:5 image: linuxserver/lidarr:latest6 container_name: lidarr7 restart: unless-stopped8 environment:9 PUID: 100010 PGID: 100011 TZ: UTC12 volumes:13 - lidarr_config:/config14 - /path/to/music:/music15 - /path/to/downloads:/downloads16 ports:17 - "8686:8686"1819volumes:20 lidarr_config:21EOF2223# 2. Create the .env file24cat > .env << 'EOF'25# Configure your music and download paths26EOF2728# 3. Start the services29docker compose up -d3031# 4. View logs32docker compose logs -fOne-Liner
Run this command to download and set up the recipe in one step:
terminal
1curl -fsSL https://docker.recipes/api/recipes/lidarr/run | bashTroubleshooting
- Import fails with 'No files found are eligible for import': Verify file permissions match PUID/PGID and check supported audio formats in media management settings
- Artist search returns no results: Confirm indexers are properly configured and responding in Settings > Indexers, test connectivity
- Downloads stuck in queue: Check download client connection settings and ensure download paths are properly mapped between Lidarr and client
- Metadata fetching errors: Verify MusicBrainz connectivity and consider adjusting API rate limiting in general settings
- Permission denied errors on file operations: Ensure PUID/PGID environment variables match host user ownership of mounted volumes
- Web interface not accessible: Confirm port 8686 mapping and check container logs for binding errors or startup issues
Community Notes
Loading...
Loading notes...
Download Recipe Kit
Get all files in a ready-to-deploy package
Includes docker-compose.yml, .env template, README, and license
Ad Space
Shortcuts: C CopyF FavoriteD Download