Sonarr automates TV downloads from public and private trackers.
Sonarr will store its configuration data in a directory on the Host VM.
On the Ubuntu VM Host, create a directory for this config data.
mkdir /home/peter/sonarr mkdir /home/peter/sonarr/config mkdir /home/peter/sonarr/tv mkdir /home/peter/downloads
NOTE: The downloads directory will be used by other services too, so not within the sonarr directory.
On the Ubuntu VM Host:
id peter
returns:
uid=1000(peter) gid=1000(peter) groups=1000(peter)...
NOTE: Take a note of the UID and GID numbers.
In Portainer:
--- version: "2.1" services: sonarr: image: ghcr.io/linuxserver/sonarr container_name: sonarr environment: - PUID=1000 - PGID=1000 - TZ=Europe/Jersey volumes: - /home/peter/sonarr/config:/config - /home/peter/sonarr/tv:/tv #optional - /home/peter/downloads:/downloads #optional ports: - 8989:8989 restart: unless-stopped
NOTE: Change settings as required.
Open Portainer.
Press F5 to refresh.
NOTE: This should show the Sonarr container running.
Visit http://192.168.1.30:8989 in a browser.
NOTE: The IP address is whatever the Ubuntu VM is using.
Configure as required.
For example, change file naming:
{Series Title} - S{season:00}E{episode:00} - {Episode Title} {Quality Full} to {Series Title}.S{season:00}E{episode:00}.{Episode Title}.{MediaInfo VideoCodec}.{Quality Title}