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

19 lines
1.1 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
2023-04-26 00:53:18 +00:00
. ./.env
2021-04-10 10:16:29 +00:00
docker run -d \
--name=sonarr \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2023-02-26 14:51:38 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
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