Added better debugging. Corrected Lidarr import. Updated README.md
This commit is contained in:
@@ -3,40 +3,52 @@ services:
|
||||
image: lscr.io/linuxserver/lidarr:latest
|
||||
container_name: lidarr
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=${TZ}
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=${TZ}
|
||||
volumes:
|
||||
- /path/to/lidarr/config:/config
|
||||
- /path/to/data/:/data/
|
||||
- /path/to/downloads/:/downloads
|
||||
- /path/to/lidarr/config:/config
|
||||
- /path/to/data/:/data/
|
||||
- /path/to/downloads/:/downloads
|
||||
ports:
|
||||
- 8686:8686
|
||||
- 8686:8686
|
||||
networks:
|
||||
example_network:
|
||||
ipv4_address: 172.18.0.1
|
||||
- music_network
|
||||
restart: unless-stopped
|
||||
|
||||
mbid-poller:
|
||||
image: gitea.kansaigaijin.com/KansaiGaijin
|
||||
image: gitea.kansaigaijin.com/kansaigaijin/mbid-poller:latest
|
||||
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)
|
||||
# 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
|
||||
- ./ids.json:/config/ids.json:ro # Mount your local ids.json file
|
||||
networks:
|
||||
example_network: # Same network as Lidarr
|
||||
ipv4_address: 172.18.0.2
|
||||
restart: "no" # Run once
|
||||
- music_network # Same network as Lidarr
|
||||
restart: "no" # Run once
|
||||
command: ["/app/poller.pl"]
|
||||
depends_on:
|
||||
- lidarr # Wait for Lidarr to start first
|
||||
|
||||
networks:
|
||||
example_network:
|
||||
external: true
|
||||
music_network:
|
||||
driver: bridge # Create network instead of using external
|
Reference in New Issue
Block a user