A Docker image for the TV management software Sonarr
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.drone.yml
Dockerfile
README.md
entrypoint.sh
gen-config.sh

README.md

Spritsail/Sonarr

Layers Latest Version Git Commit Docker Pulls Docker Stars Build Status

Sonarr running in Alpine Linux. This container provides some simple initial configuration scripts to set some runtime variables (see #Configuration for details)

Usage

Basic usage with default configuration:

docker run -dt
    --name=sonarr
    --restart=always
    -v $PWD/config:/config
    -p 8989:8989
    spritsail/sonarr

Note: Is is important to use -t (pseudo-tty) as without it there are no logs produced.

Advanced usage with custom configuration:

docker run -dt
    --name=sonarr
    --restart=always
    -v $PWD/config:/config
    -p 8989:8989
    -e URL_BASE=/sonarr
    -e ANALYTICS=false
    -e ...
    spritsail/sonarr

Volumes

  • /config - Sonarr configuration file and database storage. Should be readable and writeable by $SUID

Other files accessed by Sonarr such as tv-show directories should also be readable and writeable by $SUID or $SGID with sufficient permissions.

$SUID defaults to 906

Configuration

These configuration options set the respective options in config.xml and are provided as a Docker convenience.

  • LOG_LEVEL - Options are: Trace, Debug, Info. Default is Info
  • URL_BASE - Configurable by the user. Default is empty
  • BRANCH - Upstream tracking branch for updates. Options are: master, develop, other. Default is develop
  • ANALYTICS - Truthy or falsy value true, false or similar. Default is true