Quick start
1. Start the container
Section titled “1. Start the container”Both options keep everything the app stores in a named volume, sonarr-data, mounted at /app/data. Set TZ to your time zone so dates in the UI and schedules are local (the image defaults to UTC).
docker run -d \ --name sonarr-analyzer \ -p 8501:8501 \ -e TZ=America/New_York \ -v sonarr-data:/app/data \ --restart unless-stopped \ martitoci/sonarr-analyzer:latestSave this as docker-compose.yml and run docker compose up -d:
services: sonarr-analyzer: image: martitoci/sonarr-analyzer:latest container_name: sonarr-analyzer ports: - "8501:8501" environment: - TZ=America/New_York volumes: - sonarr-data:/app/data restart: unless-stopped
volumes: sonarr-data:The app repo ships a fuller docker-compose.yml with a health check, a read-only root filesystem and resource limits. See Installation.
2. Set it up
Section titled “2. Set it up”-
Open http://localhost:8501 (or your server’s address).
-
Create the first account. On first launch the app shows Create the first account: a username of at least 3 characters and a password of at least 8. Then sign in.
-
Add your Sonarr instance. Go to Settings → Instances. Under Add instance, enter a name (for example
home), the Sonarr URL and the API key. Click Test connection, then Save instance.Use the full URL with the protocol, such as
http://192.168.1.10:8989, and the host’s LAN IP or container name, notlocalhost: inside the container,localhostis the container itself. -
Pick the instance in the Instance selector at the top of the sidebar.
-
Run an analysis. Go to Library → Analysis, keep the Full mode and click Run analysis. When it finishes, a green line reads Complete · N series, N files in N s · saved to history. Below it, the Savings & outliers tab shows the space recoverable by re-encoding and the re-encode candidates, and the Series tab lists every series with its codec, size, MB/min and Z-score. If the library is already all HEVC/AV1, the candidates list is simply empty.
Next steps
Section titled “Next steps”- Schedule analyses so the history and the forecast build up on their own.
- Planning to use the upcoming mobile apps (in development)? Also publish port 8502 and set up HTTPS.
- Read Understanding the results before you re-encode anything.
- Back up
/app/data. It holds the master key; without it, saved API keys can’t be decrypted.