From c86c6d8071af1bb568d5845a7ad3bc28b05d59b0 Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Fri, 14 May 2021 12:57:40 +0000 Subject: [PATCH] Bot Updating Documentation --- images/docker-sonarr.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/images/docker-sonarr.md b/images/docker-sonarr.md index 32bc4b53a1..8743ed7348 100644 --- a/images/docker-sonarr.md +++ b/images/docker-sonarr.md @@ -47,9 +47,13 @@ This image provides various versions that are available via tags. `latest` tag u Access the webui at `:8989`, for more information check out [Sonarr](https://sonarr.tv/). -Special Note: Following our current folder structure will result in an inability to hardlink from your downloads to your TV folder because they are on seperate volumes. To support hardlinking, simply ensure that the TV and downloads data are on a single volume. For example, if you have /mnt/storage/TV and /mnt/storage/downloads/completed/TV, you would want something like /mnt/storage:/media for your volume. Then you can hardlink from /media/downloads/completed to /media/TV. +### Media folders -Another item to keep in mind, is that within sonarr itself, you should then map your torrent client folder to your sonarr folder: Settings -> Download Client -> advanced -> remote path mappings. I input the host of my download client (matches the download client defined) remote path is /downloads/TV (relative to the internal container path) and local path is /media/downloads/completed/TV, assuming you have folders to seperate your downloaded data types. +We have set `/tv` and `/downloads` as ***optional paths***, this is because it is the easiest way to get started. While easy to use, it has some drawbacks. Mainly losing the ability to hardlink (TL;DR a way for a file to exist in multiple places on the same file system while only consuming one file worth of space), or atomic move (TL;DR instant file moves, rather than copy+delete) files while processing content. + +Use the optional paths if you dont understand, or dont want hardlinks/atomic moves. + +The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/Docker_Guide#Consistent_and_well_planned_paths) on how to get started with this. ## Usage @@ -72,8 +76,8 @@ services: - TZ=Europe/London volumes: - /path/to/data:/config - - /path/to/tvseries:/tv - - /path/to/downloadclient-downloads:/downloads + - /path/to/tvseries:/tv #optional + - /path/to/downloadclient-downloads:/downloads #optional ports: - 8989:8989 restart: unless-stopped @@ -89,8 +93,8 @@ docker run -d \ -e TZ=Europe/London \ -p 8989:8989 \ -v /path/to/data:/config \ - -v /path/to/tvseries:/tv \ - -v /path/to/downloadclient-downloads:/downloads \ + -v /path/to/tvseries:/tv `#optional` \ + -v /path/to/downloadclient-downloads:/downloads `#optional` \ --restart unless-stopped \ ghcr.io/linuxserver/sonarr ``` @@ -170,6 +174,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to ## Versions +* **11.05.21:** - Make the paths clearer to the user. * **10.03.21:** - Upgrade to Sonarr v3. Existing users are highly recommended to make a backup prior to update. * **18.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information. * **05.04.20:** - Move app to /app.