Lidarr Music Automation
Automated music management with Lidarr and Prowlarr indexer.
Overview
Lidarr is an automated music collection manager that monitors multiple RSS feeds for new releases from your favorite artists and automatically downloads, sorts, and renames music files. Originally forked from Sonarr in 2017, Lidarr has evolved into the premier music automation solution for managing digital music libraries. It integrates with MusicBrainz for metadata accuracy, supports quality profiles for different formats, and can handle both album and artist monitoring with sophisticated release detection. This stack combines Lidarr with Prowlarr, creating a powerful music automation pipeline where Prowlarr serves as the centralized indexer manager feeding torrent trackers and Usenet indexers directly into Lidarr. Prowlarr eliminates the need to manually configure indexers in Lidarr by providing automatic synchronization of over 500 supported indexers, complete with search testing and statistics tracking. This combination is ideal for music enthusiasts running home media servers, audiophiles maintaining extensive digital collections, and anyone seeking to automate the tedious process of music discovery and library management. The integration provides superior indexer management compared to standalone solutions, with Prowlarr's native *arr app sync ensuring new indexers are automatically available in Lidarr without manual intervention.
Key Features
- MusicBrainz integration for accurate album and artist metadata with automatic tagging
- Quality profiles supporting multiple audio formats from MP3 to FLAC with bitrate preferences
- Artist and album monitoring with intelligent release detection and upgrade capabilities
- Prowlarr's 500+ indexer support with automatic sync to Lidarr eliminating manual configuration
- Cardigann definition support in Prowlarr for custom torrent tracker integration
- Calendar view showing upcoming releases from monitored artists with release date tracking
- Prowlarr search testing and indexer health monitoring with failure notifications
- Automatic music file organization with customizable naming schemes and folder structures
Common Use Cases
- 1Home media server operators building comprehensive music libraries with automated collection
- 2Audiophiles maintaining high-quality FLAC collections with automatic upgrades from lossy formats
- 3Music enthusiasts tracking new releases from hundreds of artists without manual searching
- 4Private tracker users leveraging Prowlarr's extensive tracker support for rare music discovery
- 5Digital music collectors consolidating indexer management across multiple music sources
- 6Plex or Jellyfin server administrators automating music library expansion and maintenance
- 7Musicians and DJs building reference libraries with automated organization and quality control
Prerequisites
- Minimum 512MB RAM for both containers with 1GB+ recommended for large music libraries
- Available ports 8686 (Lidarr) and 9696 (Prowlarr) or alternative port configuration
- Storage paths configured for music library and downloads directory with proper permissions
- PUID/PGID values matching your system's user permissions for file access
- Basic understanding of music release types, quality profiles, and indexer concepts
- Access to torrent trackers or Usenet indexers for content acquisition
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 prowlarr: 3 image: lscr.io/linuxserver/prowlarr:latest4 container_name: prowlarr5 restart: unless-stopped6 environment: 7 - PUID=${PUID:-1000}8 - PGID=${PGID:-1000}9 - TZ=${TZ:-UTC}10 volumes: 11 - prowlarr_config:/config12 ports: 13 - "${PROWLARR_PORT:-9696}:9696"14 networks: 15 - music-network1617 lidarr: 18 image: lscr.io/linuxserver/lidarr:latest19 container_name: lidarr20 restart: unless-stopped21 environment: 22 - PUID=${PUID:-1000}23 - PGID=${PGID:-1000}24 - TZ=${TZ:-UTC}25 volumes: 26 - lidarr_config:/config27 - ${MUSIC_PATH:-./music}:/music28 - ${DOWNLOADS_PATH:-./downloads}:/downloads29 ports: 30 - "${LIDARR_PORT:-8686}:8686"31 depends_on: 32 - prowlarr33 networks: 34 - music-network3536volumes: 37 prowlarr_config: 38 lidarr_config: 3940networks: 41 music-network: 42 driver: bridge.env Template
.env
1# Lidarr Music Stack2LIDARR_PORT=86863PROWLARR_PORT=96964PUID=10005PGID=10006TZ=UTC7MUSIC_PATH=./music8DOWNLOADS_PATH=./downloadsUsage Notes
- 1Lidarr at http://localhost:8686
- 2Prowlarr at http://localhost:9696
- 3Configure indexers in Prowlarr first
- 4Sync Prowlarr to Lidarr
Individual Services(2 services)
Copy individual services to mix and match with your existing compose files.
prowlarr
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
restart: unless-stopped
environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- TZ=${TZ:-UTC}
volumes:
- prowlarr_config:/config
ports:
- ${PROWLARR_PORT:-9696}:9696
networks:
- music-network
lidarr
lidarr:
image: lscr.io/linuxserver/lidarr:latest
container_name: lidarr
restart: unless-stopped
environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- TZ=${TZ:-UTC}
volumes:
- lidarr_config:/config
- ${MUSIC_PATH:-./music}:/music
- ${DOWNLOADS_PATH:-./downloads}:/downloads
ports:
- ${LIDARR_PORT:-8686}:8686
depends_on:
- prowlarr
networks:
- music-network
Quick Start
terminal
1# 1. Create the compose file2cat > docker-compose.yml << 'EOF'3services:4 prowlarr:5 image: lscr.io/linuxserver/prowlarr:latest6 container_name: prowlarr7 restart: unless-stopped8 environment:9 - PUID=${PUID:-1000}10 - PGID=${PGID:-1000}11 - TZ=${TZ:-UTC}12 volumes:13 - prowlarr_config:/config14 ports:15 - "${PROWLARR_PORT:-9696}:9696"16 networks:17 - music-network1819 lidarr:20 image: lscr.io/linuxserver/lidarr:latest21 container_name: lidarr22 restart: unless-stopped23 environment:24 - PUID=${PUID:-1000}25 - PGID=${PGID:-1000}26 - TZ=${TZ:-UTC}27 volumes:28 - lidarr_config:/config29 - ${MUSIC_PATH:-./music}:/music30 - ${DOWNLOADS_PATH:-./downloads}:/downloads31 ports:32 - "${LIDARR_PORT:-8686}:8686"33 depends_on:34 - prowlarr35 networks:36 - music-network3738volumes:39 prowlarr_config:40 lidarr_config:4142networks:43 music-network:44 driver: bridge45EOF4647# 2. Create the .env file48cat > .env << 'EOF'49# Lidarr Music Stack50LIDARR_PORT=868651PROWLARR_PORT=969652PUID=100053PGID=100054TZ=UTC55MUSIC_PATH=./music56DOWNLOADS_PATH=./downloads57EOF5859# 3. Start the services60docker compose up -d6162# 4. View logs63docker 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-music-automation/run | bashTroubleshooting
- Lidarr shows no search results: Verify Prowlarr indexers are synced and responding in Prowlarr's test search
- Permission denied errors on music files: Ensure PUID/PGID environment variables match your system user ID
- Prowlarr sync failing to Lidarr: Check that Lidarr is accessible at the configured URL and API key is valid
- Albums not importing after download: Verify download client configuration and folder permissions in both containers
- MusicBrainz metadata lookup failures: Check network connectivity and consider MusicBrainz rate limiting during peak usage
- Port 8686 or 9696 already in use: Modify LIDARR_PORT or PROWLARR_PORT environment variables to use alternative ports
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
Components
lidarrprowlarr
Tags
#lidarr#music#automation#prowlarr#management
Category
Media & EntertainmentAd Space
Shortcuts: C CopyF FavoriteD Download