docker-bits/lsio/sonarr/docker-run.sh

19 lines
1.0 KiB
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Sonarr](https://sonarr.tv/) (formerly NZBdrone) is a PVR for usenet and
# bittorrent users. It can monitor multiple RSS feeds for new episodes of your
# favorite shows and will grab, sort and rename them. It can also be configured
# to automatically upgrade the quality of files already downloaded when a better
# quality format becomes available.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=sonarr \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-p 8989:8989 `# The port for the Sonarr webinterface` \
-v ${BASEDIR:-/volume1/docker}/sonarr/config:/config `# Database and sonarr configs` \
2021-05-15 00:53:55 +00:00
-v ${BASEDIR:-/volume1/docker}/sonarr/tv:/tv `# optional` `# Location of TV library on disk (See note in Application setup)` \
-v ${BASEDIR:-/volume1/docker}/sonarr/downloads:/downloads `# optional` `# Location of download managers output directory (See note in Application setup)` \
2021-04-10 10:16:29 +00:00
--restart unless-stopped \
ghcr.io/linuxserver/sonarr