Skip to content

Instantly share code, notes, and snippets.

@koepnick
Last active September 23, 2021 00:05
Show Gist options
  • Save koepnick/abd2ad39095fc3a9d98b8b2e769e8727 to your computer and use it in GitHub Desktop.
Save koepnick/abd2ad39095fc3a9d98b8b2e769e8727 to your computer and use it in GitHub Desktop.
version: '3.7'
services:
sonarr:
container_name: sonarr
image: linuxserver/sonarr:3.0.6.1265-ls121
restart: "no"
ports:
- "8989:8989"
environment:
- TZ=America/Denver
- PUID=1002
- PGID=1002
volumes:
# The *actual* config volume is on the local device. This is not best practice
# but this is also hosted in my garage.
- /home/Docker/configs/sonarr/:/config
- activetv:/tv
- downloads:/downloads
# Our data volumes point to NFS4 shares hosted
# via freenas
# These can be replace with local file paths
# The 'downloads' volume is on an NFS share
# as NZBGet will be writing to it as well.
# The driver is 'local' due to the fact that the
# host operating system is doing the heavy lifting
volumes:
activetv:
driver: local
driver_opts:
type: nfs
o: "addr=tardis.home,nolock,soft,rw"
device: ":/path/on/nas/to/Television"
downloads:
driver: local
driver_opts:
type: nfs
o: "addr=tardis.home,nolock,soft,rw"
device: ":/path/on/nas/to/nzbget/downloads"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment