Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 2.19 KB

README.md

File metadata and controls

60 lines (45 loc) · 2.19 KB

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