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: example_network: ipv4_address: 172.18.0.1 restart: unless-stopped mbid-poller: image: gitea.kansaigaijin.com/KansaiGaijin container_name: mbid-poller environment: - LIDARR_BASE=http://lidarr:8686 # The URL for your Lidarr instance - LIDARR_API_KEY=your_lidarr_api_key_here # Get this from Lidarr Settings > General > API Key - LIDARR_ROOT_FOLDER=/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 - MBID_API_URL= # OPTION 1: API URL (Current default, highest priority) - MBID_JSON_FILE=/config/ids.json # OPTION 2: JSON File (To use, comment out MBID_API_URL and uncomment this lines) - MBID_URL=https://musicbrainz.org/work/69755ab1-409e-3ad7-902f-3a839042799c # OPTION 3: Single ID/URL (To use, comment out the API URL and the JSON File lines) volumes: - ./ids.json:/config/ids.json:ro networks: example_network: # Same network as Lidarr ipv4_address: 172.18.0.2 restart: "no" # Run once command: ["/app/poller.pl"] networks: example_network: external: true