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
|
|
|
|
|
|
|
---
|
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
sonarr:
|
|
|
|
image: ghcr.io/linuxserver/sonarr
|
|
|
|
container_name: sonarr
|
|
|
|
environment:
|
|
|
|
# for UserID
|
2022-04-02 00:45:58 +00:00
|
|
|
- PUID=${PUID:-1024}
|
|
|
|
# for GroupID
|
2021-04-10 10:16:29 +00:00
|
|
|
- PGID=${PGID:-100}
|
2023-02-12 01:01:09 +00:00
|
|
|
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
|
2021-04-13 00:58:58 +00:00
|
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
2021-04-10 10:16:29 +00:00
|
|
|
volumes:
|
|
|
|
# Database and sonarr configs
|
|
|
|
- ${BASEDIR:-/volume1/docker}/sonarr/config:/config
|
|
|
|
# Location of TV library on disk (See note in Application setup)
|
2021-05-15 00:53:55 +00:00
|
|
|
- ${BASEDIR:-/volume1/docker}/sonarr/tv:/tv # optional
|
2021-04-10 10:16:29 +00:00
|
|
|
# Location of download managers output directory (See note in Application setup)
|
2021-05-15 00:53:55 +00:00
|
|
|
- ${BASEDIR:-/volume1/docker}/sonarr/downloads:/downloads # optional
|
2021-04-10 10:16:29 +00:00
|
|
|
ports:
|
|
|
|
# The port for the Sonarr webinterface
|
|
|
|
- 8989:8989
|
|
|
|
restart: unless-stopped
|