services: lidarr: image: lscr.io/linuxserver/lidarr:latest container_name: lidarr environment: - PUID=1000 - PGID=1000 - TZ=${TZ} volumes: - /path/to/lidarr/config:/config - /path/to/data/:/data/ - /path/to/downloads/:/downloads ports: - 8686:8686 networks: - music_network restart: unless-stopped mbid-poller: image: gitea.kansaigaijin.com/kansaigaijin/mbid-poller:latest container_name: mbid-poller environment: # Lidarr Configuration - LIDARR_BASE=http://lidarr:8686 # Internal Docker network URL - LIDARR_API_KEY=your_lidarr_api_key_here # Get this from Lidarr Settings > General > API Key - LIDARR_ROOT_FOLDER=/data/music # Your music root folder path in Lidarr - LIDARR_QUALITY_PROFILE_ID=1 # ID of quality profile (check Lidarr Settings > Profiles > Quality Profiles) - LIDARR_METADATA_PROFILE_ID=1 # ID of metadata profile # Logging - LOG_LEVEL=info # info or debug # Input Source (choose ONE of the following options) # OPTION 1: API URL (Highest Priority) # - MBID_API_URL=http://your-api-server:port/api/path # see gitea.kansaigaijin.com/kansaigaijin/majola-lidarr-importer # OPTION 2: JSON File (Second Priority) - CURRENTLY ACTIVE - MBID_JSON_FILE=/config/ids.json # OPTION 3: Single MBID (Lowest Priority) # - MBID_URL=06f71b9e-639c-4903-bf6b-76b8893d3957 # Use MusicBrainz ID, not work URL volumes: - ./ids.json:/config/ids.json:ro # Mount your local ids.json file networks: - music_network # Same network as Lidarr restart: "no" # Run once command: ["/app/poller.pl"] depends_on: - lidarr # Wait for Lidarr to start first networks: music_network: driver: bridge # Create network instead of using external