Skip to content

Instantly share code, notes, and snippets.

@spikegrobstein
Last active May 4, 2025 12:16
Show Gist options
  • Save spikegrobstein/0989b8492a96900f0957483e3e4fbb16 to your computer and use it in GitHub Desktop.
Save spikegrobstein/0989b8492a96900f0957483e3e4fbb16 to your computer and use it in GitHub Desktop.
docker-compose file for sabnzbd/sonarr/radarr
# start up with 'docker-compose up -d' to start in background
# update images with 'docker-compose pull'
# this assumes that you have a sibling directory to this file called 'config' that contains all of the config for these services
# you can reference 'sabnzbd' 'radarr' or 'sonarr' from inside the containers (in the apps) to reference the other containers. no need to deal with IPs or hostnames
# remember that docker is isolated from the rest of your filesystem. you need to add volumes to the entries
# in order to give the processes access to them. so if you have multiple target directories for TV or Movies,
# then make sure you add each one that you want radarr/sonarr/sabnzbd to see.
version: '3'
services:
sabnzbd:
image: linuxserver/sabnzbd
ports:
- "8080:8080" # port mapping
volumes:
- "./config/sabnzbd:/config" # sab config directory
- "/storage/Downloads/complete:/downloads" # completed directory for downloads. this contains the category directories
- "/downloads/incomplete:/incomplete-downloads" # "temp" directory for downloads
environment:
TZ: UTC
PUID: 501 # set to UID of your user
PGID: 501 # set to GID of your user
radarr:
image: linuxserver/radarr
ports:
- "7878:7878" # port mapping
volumes:
- "./config/radarr:/config" # config directory for radarr
- "/storage/Downloads/complete:/downloads" # completed downloads directory from sab
- "/storage/Movies:/storage/Movies" # where radarr will copy your movies. add as many of these as you need
environment:
TZ: UTC
PUID: 501 # set this to the UID of your user
PGID: 501 # set this to the GID of your user
sonarr:
image: linuxserver/sonarr
ports:
- "8989:8989" # port mapping
volumes:
- "./config/sonarr:/config" # sonarr config dir
- "/storage/Downloads/complete:/downloads" # your completed downloads directory from sab
- "/storage/TV:/storage/TV" # where it will copy your files when done. add as many of these as you need
environment:
TZ: UTC
PUID: 501 # set this to the UID of your user
PGID: 501 # set this to the GID of your user
@HelloMihai
Copy link

id recommend adding gluetun to this stack

@sym0nd0
Copy link

sym0nd0 commented Mar 1, 2025

id recommend adding gluetun to this stack

Why? Unless you've opted to not use SSL for usenet, for some reason I can't think of, all your traffic is already encrypted and routing through 443 or 563. So, just blends in with the rest of your traffic to your ISP.

Adding a VPN for usenet would just add extra overhead and latency.

If this were a torrent client and your country has copyright enforcement then I'd whole heartidly agree.

@HelloMihai
Copy link

ISP won’t see the content but they’ll see you hit those sites. That’s a liability. Laws change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment