Sonarr running in Alpine Linux. This container provides some simple initial configuration scripts to set some runtime variables (see #Configuration for details)
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
/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
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 isInfo
URL_BASE
- Configurable by the user. Default is emptyBRANCH
- Upstream tracking branch for updates. Options are:master
,develop
, other. Default isdevelop
ANALYTICS
- Truthy or falsy valuetrue
,false
or similar. Default istrue